Re: How can autossh start remote connection, if computer is off?

2010-11-09 Thread cygwin . 20 . gyurman
Thank you, you could solve it my problem. ;-) 2010/11/10 David Rothenberger - daver...@acm.org > On 11/9/2010 5:26 PM, cygwin.20.gyurman wrote: >> How Can I do autossh connection with any computer which is off, but >> sometime coming to power on? >> I used this: >> cy

How can autossh start remote connection, if computer is off?

2010-11-09 Thread cygwin . 20 . gyurman
How Can I do autossh connection with any computer which is off, but sometime coming to power on? I used this: cygrunsrv -I AutoSSH -n -O -u name -w pass -p /usr/bin/autossh -a "-M $port -R 5903:localhost:22 n...@192.168.1.102" -e "AUTOSSH_NTSERVICE=yes AUTOSSH_GATETIME=0" But not working. How can I