delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
From: | cygwin DOT 20 DOT gyurman AT spamgourmet DOT com |
Date: | Wed, 10 Nov 2010 02:59:41 +0100 |
Message-ID: | <AANLkTin4+uO-n7P-MxgrV5Y_g_Hdhpwv732NhN818qAq@mail.gmail.com> |
Subject: | Re: How can autossh start remote connection, if computer is off? |
To: | cygwin AT cygwin DOT com |
X-Spamgourmet: | |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Thank you, you could solve it my problem. ;-) 2010/11/10 David Rothenberger - daveroth AT acm DOT 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: >> cygrunsrv -I AutoSSH -n -O -u name -w pass -p /usr/bin/autossh -a "-M >> $port -R 5903:localhost:22 name AT 192 DOT 168 DOT 1 DOT 102" -e >> "AUTOSSH_NTSERVICE=3Dyes AUTOSSH_GATETIME=3D0" >> But not working. How can I do? > > I don't know if this will solve your problem, but you can only specify > one "VAR=3DVALUE" string with the -e switch. You have to repeat the -e > switch to define multiple environment variables. > > =A0... -e 'AUTOSSH_NTSERVICE=3Dyes' -e 'AUTOSSH_GATETIME=3D0' > > > -- > David Rothenberger =A0---- =A0daveroth AT acm DOT org > > Experience, n.: > =A0 =A0 =A0 =A0Something you don't get until just after you need it. > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0-- Olivier -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |