Windows XP autossh: Difference between revisions

From Skytech
Jump to navigation Jump to search
(Created page with "Category:Linux = Windows XP and Autossh = First off, one needs cygwin. Download from here: <pre> http://www.cygwin.com/ </pre> Select setup and be sure to select '''Autos...")
 
No edit summary
Line 12: Line 12:


All required dependencies will be automatically installed as well.
All required dependencies will be automatically installed as well.

Connection string (cygwin)
<pre>
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
</pre>

Revision as of 19:42, 3 June 2011


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