Re: [Ilugc] .a-tip-a-day. (ssh port forwarding)

2009-10-29 Thread Kapil Hari Paranjape
Hello, On Fri, 30 Oct 2009, Girish Venkatachalam wrote: > LOCAL port forwarding: > > $ ssh -L 1234:127.0.0.1:4321 61.1.1.2 > ^^^ > > will forward the local port 1234 to 6.1.1.2 4321. This is "almost" true. The correct statement is that this will fo

[Ilugc] .a-tip-a-day. (ssh port forwarding)

2009-10-29 Thread Girish Venkatachalam
LOCAL port forwarding: $ ssh -L 1234:127.0.0.1:4321 61.1.1.2 ^^^ will forward the local port 1234 to 6.1.1.2 4321. I have indicated the local portion above. You can check it like this. $ nc -l -p 1234 on the localhost and $ nc -l -p 4321 or ev