Wednesday, June 15, 2011

Alternative to Windows AutoSSH tunnels with PuTTY

Creating a persistent SSH tunnels with PuTTY is still in PuTTY wishlist. It would be a great if PuTTY has an option to automatically reconnect if TCP connection has been broken. (e.g. the computer wakes from sleep mode or WiFi link is restored)

Linux users has autossh program that does the ssh connection monitoring. It starts a copy of ssh and monitor it, restarting it as necessary should it die or stop passing traffic. The idea was originally from rstunnel (Reliable SSH Tunnel).

Windows users can use a third party PuTTY application called MyEnTunnel (My Encrypted Tunnel) to prevent SSH session disconnects.


MyEnTunnel is a tiny system tray application that launches Plink (PuTTY Link) in the background and monitors the process. If the Plink process stops, it will automatically reconnect the tunnels.


MyEnTunnel uses Plink encryption and networking. It also can use PuTTY sessions, private key generated by PuTTYgen.
Related Posts Plugin for WordPress, Blogger...