yet another SSH question

Gordon Messmer yinyang at eburg.com
Sat Mar 8 11:24:36 UTC 2008


tony.chamberlain at lemko.com wrote:
>
>     ssh -X -oBatchMode=yes -o TCPKeepAlive=yes -l support1 -L
>     10005:192.168.20.5:22 -L 10010:192.168.20.10:22 -L
>     10020:192.168.20.20:22 -L 10030:192.168.20.30:22 -L
>     10040:192.168.20.40:22 -L 10050:192.168.20.50:22 $OUTSIDEIP
>
...
> However, when I put sstest into the background like that, then none of 
> the port forwarding ssh and scp commands
> works.

You need to use the -n option.




More information about the users mailing list