|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Programming/Scripting Questions about programming, bash scripts, perl, php, cron jobs, ruby, python, etc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Maybe you could use ssh to do some port forwarding. From the machine with the SVN server you probably could open a public port somewhere with
Code:
ssh -R <public port>:localhost:<svn port> <ip> Last edited by m4ktub; 05-Nov-2008 at 17:59. Reason: typos |
|
|||
|
Yes, SSH can definitely do this. I saw a very good tutorial from Red Hat that walks through common setups. (Applies to openSUSE as well.) They also posed a follow-up article that is equally helpful.
|
|
||||
|
you're right, it was very useful. I'll try to implement it now.
thank you. |
|
||||
|
I finally give up trying to 'ssh tunneling' and I come here to ask for help again.
Apparently I can't make double forward inside my LAN. SVN is in A (LAN), Public IP is in B (LAN), Final Target (remote PC) is in C (WAN, Internet). I forwarded port 3690 (SVN port) of B to 3690 of A. In B Code:
ssh -L 3690:A_IP:3690 root@A_IP Code:
svn ls svn://localhost Then I tried the following: In C: Code:
ssh -L 3690:B_IP:3690 root@B_IP Code:
svn ls svn://localhost Code:
svn: Connection closed unexpectedly Code:
channel 3: open failed: connect failed: Connection refused In B: Code:
ssh -R 3690:C_IP:3690 root@C_IP Code:
svn: Connection closed unexpectedly Code:
svn: Can't connect to host 'localhost': Connection refused I hope somebody can help me. Thanks. |
|
|||
|
Hi,
In C (with the configuration before "I also tried...") try Code:
ssh -L 3690:localhost:3690 root@B_IP Disclaimer: This guess is based on the weather conditions in Portugal and the particular taste of this morning's coffee so it may be off.
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|