This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
ssh as a tunnel service (port forwarding) won't work
- From: "Stephan Hendl" <Stephan dot Hendl at lds dot brandenburg dot de>
- To: <cygwin at cygwin dot com>
- Date: Wed, 08 May 2002 13:59:48 +0200
- Subject: ssh as a tunnel service (port forwarding) won't work
Hi folks,
I tried to implement a ssh tunnel (port forwarder) as a service via the comand
cygrunsrv -I SSHFWD -p /usr/bin/ssh -a "-2 -N -L 5175:tc2:5175 -l hendl tc2"
This command works fine but at time I want to start the service with "net start SSHFWD" the System gives an error back. I can find the following message in the event log:
"The description of the event ID (0) in source (SSHFWD) could not be
found. It contains the following: Insert character string (n):SSHFWD:
Win32 Process ID = 0x14C: Cygwin Process ID = 0x14C: ` SSHFWD ' service
stopped."
A ssh connection from the cmdline works fine. That means that the key functionality works passwordless.
Thanks for help!
Stephan
--
LDS Brandenburg
Dr. Stephan Hendl
fon: +49-(0)331-39 471
fax: +49-(0)331-27548 1187
EMail: stephan.hendl@lds.brandenburg.de
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/