tony.chamberlain@xxxxxxxxx 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 commandsworks.
You need to use the -n option.