[CLUE-Tech] ssh port forwarding

Adam Bultman adamb at glaven.org
Fri Oct 22 21:38:38 MDT 2004


Mark Gibson wrote:

>I'm trying to forward an unprivileged port to another machine:
>
>ssh  root at vch1p050.xxx.com -L 8080:vch1p050.xxx.com:8080
>
>This *used* to work.  Now, if I try to access port 8080 from my local
>machine,  I get
>  
>
In this type of case, it's easier just to do:

ssh root at vch1p050.xxx.com -L 8080:localhost:8080


Since you're connecting to the same machine you're SSHing to, localhost 
saves you time, and strife like this.


Adam



More information about the clue-tech mailing list