Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
add comment

2 Answers

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.

share|improve this answer
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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