Windows XP autossh
Jump to navigation
Jump to search
Windows XP and Autossh
First off, one needs cygwin. Download from here:
http://www.cygwin.com/
Select setup and be sure to select Autossh from the Net list.
All required dependencies will be automatically installed as well.
Connection string (cygwin)
cygrunsrv -I AutoSSH -f "Autossh tunnel" -t auto -y tcpip -O -u $USER -w $PASS -p /usr/bin/autossh -a "-M 20007 -R 12003:127.0.0.1:3389 $USER@$SERVER -p 15266 -g2CN" -e AUTOSSH_NTSERVICE=yes
Update
Follow this howto and adjust line from there to have the extra triggers from above if you want to skip those steps. http://www.matthanger.net/2008/04/creating-persistent-ssh-tunnels-in.html