ssh port redirection ?

plussier at mindspring.com plussier at mindspring.com
Wed Sep 25 15:09:31 EDT 2002


In a message dated: Wed, 25 Sep 2002 15:02:09 EDT
bscott at ntisys.com said:

>  For example:
>
>ssh pll at system-b -L 8110:pop-server:110
>fetchmail --protocol POP3 --port 8110 localhost

Is this supposed to be a single command line, or 2 separate ones?

I would guess 2 separate ones, yet when I do:

	ssh pll at system-b -L 8110:pop-server:110

I end up logged into system-b at a command prompt.

>  In the above, fetchmail connects to port 8110 on the local system (A).  
>The SSH client is listening on port 8110, and forwards the connection to the
>SSH server on system B.  System B then connects to "pop-server" on TCP port
>110, and finishes the connection.
>
>Footnotes
>---------
>
>[1] Why don't people ever use the real names of the servers in their
>    examples?  It just confuses things, and you end up saying things like
>    "the server -- not the mail server, I mean the other server".

That's why I used systemA and systemB.  It makes it very clear to 
everyone which is which.  If I said 'tater' and 'taz', I'd be the 
only one who really understood which system did which.
-- 

Seeya,
Paul
----
	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.

	 If you're not having fun, you're not doing it right!





More information about the gnhlug-discuss mailing list