ssh port redirection ?
Ben Boulanger
ben at blackavar.com
Wed Sep 25 14:52:42 EDT 2002
On Wed, 25 Sep 2002 bscott at ntisys.com wrote:
> ssh pll at system-b -L 8110:pop-server:110
> fetchmail --protocol POP3 --port 8110 localhost
I thought -L was for the other forwarding.. for example:
mail.blackavar.com listens on port 25
I want the box I'm SSHing from to listen on port 25
so I do:
ssh ben at blackavar.com -L 25:blackavar.com:25
which is slightly different than:
pop.paul.com listens on port 110
I want the box I'm sshing -to- to listen on 110 and
connect me with pop.paul.com
so I do:
ssh paul at systemb.paul.com -R 110:pop.paul.com:110
The difference is -L listens on the box you're running ssh on and -R
listens on the box you're sshing to.. at least, that's my understanding..
Ben
--
Donkey's lips do not fit onto a horse's mouth.
More information about the gnhlug-discuss
mailing list