public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygrunsrv autossh - tunnel does not come up
@ 2009-01-09  0:29 hooner
  2009-01-09  3:29 ` René Berber
  0 siblings, 1 reply; 6+ messages in thread
From: hooner @ 2009-01-09  0:29 UTC (permalink / raw)
  To: cygwin


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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-01-27 22:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-09  0:29 cygrunsrv autossh - tunnel does not come up hooner
2009-01-09  3:29 ` René Berber
2009-01-09 11:45   ` Andrew Schulman
2009-01-09 18:31     ` René Berber
2009-01-09 19:34       ` Andrew Schulman
2009-01-28  2:22     ` hooner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).