X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.9 required=5.0 tests=BAYES_20,DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: sourceware.org Message-ID: <21362436.post@talk.nabble.com> Date: Thu, 8 Jan 2009 15:07:08 -0800 (PST) From: hooner To: cygwin AT cygwin DOT com Subject: cygrunsrv autossh - tunnel does not come up MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I have problems running autossh via cygrunsrv on WIN2003: /bin/cygrunsrv.exe -I AutoSSH -p /bin/autossh -a "-M 20000 -g2CN -R 20120:localhost:3389 -i /etc/key-rsa -p 20012 user AT 192 DOT 168 DOT 100 DOT 12" -e AUTOSSH_NTSERVICE=yes -y tcpip --type auto As soon as I start the service (net start autossh) it stops. So it looks like it never came up: Autossh.log: 2009/01/08 23:26:25 autossh[10148]: starting ssh (count 1) 2009/01/08 23:26:25 autossh[10148]: ssh child pid is 9528 Host key verification failed. 2009/01/08 23:26:25 autossh[10148]: ssh exited prematurely with status 255; autossh exiting Running just ssh or autossh the tunnel comes up and stays: ssh: ssh -v -g2CN -R 20120:localhost:3389 -i /etc/key-rsa -p 20012 user AT 192 DOT 168 DOT 100 DOT 12 autossh: /bin/autossh -M 20000 -g2CN -R 20120:localhost:3389 -i /etc/key-rsa -p 20012 user AT 192 DOT 168 DOT 100 DOT 12 I also tried to use standard 22; no changes then. thx for looking into this H. -- View this message in context: http://www.nabble.com/cygrunsrv-autossh---tunnel-does-not-come-up-tp21362436p21362436.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/