problems with -R

Markus Friedl markus at openbsd.org
Wed Nov 6 07:13:12 EST 2002


On Tue, Nov 05, 2002 at 11:08:47AM -0800, Ed Peschko wrote:
> localhost.1111             *.*                0      0     0      0 LISTEN

sshd binds to localhost by default, see GatewayPorts in sshd_config.

> (ps - one more thing. When I do 'ssh -R 1111:<server>:2222 <client>', I 
> actually *get a shell*. This isn't really the expected behaviour, I would have
> thought that it would just open up a port, and run in the background as a 
> daemon...)

use -N



More information about the openssh-unix-dev mailing list