plink analog of OpenSSH -N option

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


I have a script that is using OpenSSH and does approximately

ssh -2 -N -c blowfish-cbc -i key-file -L 2010:localhost:23 ... -l user host

For use on Windows I'd rather used PuTTY but attempt to use plink results in

plink -v -T -a -x -2 -i key-file.ppk -L 2010:localhost:23 ... -l user host
Local port 2010 forwarding to localhost:23
Started a shell/command
Server sent command exit status 0
All channels closed. Disconnecting

So I need to supress remote command execution and just let plink hang around
doing port forwardingh on established connection.

Any idea?


Site Timeline