This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]