I am looking for something like autossh, but for windows. I have had trouble setting up autossh with cygwin. I am tring MyEnTunnel now, but I was wondering if Windows hacks know of something better.

closed as off-topic by Michael Hampton Mar 12 '18 at 21:39

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

locked by Michael Hampton Mar 12 '18 at 21:39

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

Read more about locked posts here.


Is there particular reason it needs to be a SSH tunnel rather than a more general VPN? (i.e. you don't control the host and/or its firewall so can't install a VPN solution)

If not then perhaps using OpenVPN or similar would be more reliable for you - it deals with connection drops such that the streams operating through the link don't even notice.

If the problem is SSHd dropping your connection due to inactivity, try ensure both client and server have keep-alive packets enabled, and if that is not possible (or doesn't resolve the issue) have the SSH session that is running the tunnel regularly echo something back to the client (a loop of "output date with date then sleep some seconds"). Though neither of these keep-alive solutions have any effect if your problem is due to a network issue like a complete connection drop.


I use Bitvise Tunnelier daily for a tunnel for synergy from my laptop to my desktop. It restarts fairly reliably when moving from network to network.

Here's an example shortcut target I use in my startup folder:

"C:\Program Files\Bitvise Tunnelier\Tunnelier.exe" -profile="C:\Users\username\My Documents\synergy-tunnel.tlp" -connectOnStartup -menu=small -exitOnDisconnect

Not the answer you're looking for? Browse other questions tagged or ask your own question.