delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/08/08:02:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: <scd92f68.032@lvnbb.brandenburg.de>
Date: Wed, 08 May 2002 13:59:48 +0200
From: "Stephan Hendl" <Stephan DOT Hendl AT lds DOT brandenburg DOT de>
To: <cygwin AT cygwin DOT com>
Subject: ssh as a tunnel service (port forwarding) won't work
Mime-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019