ssh port redirection ?

Derek D. Martin ddm+gnhlug at pizzashack.org
Wed Sep 25 15:30:16 EDT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At some point hitherto, plussier at mindspring.com hath spake thusly:
> >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?

Two.

> 
> 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.

Yes, you do.  Unfortunately, ssh ties up a terminal whenever you do a
port redirection; i.e. you must log into the system to do this.  It's
possible for the ssh session to not run any command with the -N
option, but this still ties up a terminal (it just sits there, as if
some program were running in the foreground, producing no output --
because that's exactly what's happening).

- -- 
Derek Martin               ddm at pizzashack.org    
- ---------------------------------------------
I prefer mail encrypted with PGP/GPG!
GnuPG Key ID: 0x81CFE75D
Retrieve my public key at http://pgp.mit.edu
Learn more about it at http://www.gnupg.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9kg7HdjdlQoHP510RAjghAJ9KpZ54gVU2/t6O3byaUS8gnrx94ACeMS5x
Ag9oQzuGYjYKro4jlbsugIo=
=YaTD
-----END PGP SIGNATURE-----



More information about the gnhlug-discuss mailing list