This is the mail archive of the
cygwin
mailing list for the Cygwin project.
How can autossh start remote connection, if computer is off?
- From: cygwin dot 20 dot gyurman at spamgourmet dot com
- To: cygwin at cygwin dot com
- Date: Wed, 10 Nov 2010 02:26:24 +0100
- Subject: How can autossh start remote connection, if computer is off?
- References: <AANLkTikLhnGkesbDcNsJmdXAeC7rAq_+D4TgWFd7fEGr@mail.gmail.com>
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?name@192.168.1.102" -e
"AUTOSSH_NTSERVICE=yes AUTOSSH_GATETIME=0"
But not working. How can I do?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple