From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6575 invoked by alias); 8 Jan 2009 23:07:20 -0000 Received: (qmail 6567 invoked by uid 22791); 8 Jan 2009 23:07:19 -0000 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 Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 08 Jan 2009 23:07:12 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LL3y0-0001MH-OU for cygwin@cygwin.com; Thu, 08 Jan 2009 15:07:08 -0800 Message-ID: <21362436.post@talk.nabble.com> Date: Fri, 09 Jan 2009 00:29:00 -0000 From: hooner To: cygwin@cygwin.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@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2009-01/txt/msg00206.txt.bz2 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@192.168.100.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@192.168.100.12 autossh: /bin/autossh -M 20000 -g2CN -R 20120:localhost:3389 -i /etc/key-rsa -p 20012 user@192.168.100.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/