Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-Id: Date: Wed, 08 May 2002 13:59:48 +0200 From: "Stephan Hendl" To: Subject: ssh as a tunnel service (port forwarding) won't work Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g48C20H11759 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 DOT hendl AT lds DOT brandenburg DOT 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/