delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/25/17:42:56

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.2.2.20010425130142.00b53d30@autobahn.its.washington.edu>
X-Sender: joel AT autobahn DOT its DOT washington DOT edu
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2
Date: Wed, 25 Apr 2001 13:53:58 -0700
To: cygwin AT cygwin DOT com
From: Joel Bradbury <joel AT its DOT washington DOT edu>
Subject: problem with sshd as service
Mime-Version: 1.0

I'm having a weird problem when I try to run sshd as a service on NT.  The 
sshd service is set to run under the system account (using srvany.exe), I 
have system path set to include my /bin and /usr/bin directories, and my 
log in shell is /bin/sh.  I can log in fine and run pwd or cd, but when I 
try something like ls, things just hang, with my cpu usage hitting the 
ceiling.  I have to kill the sh and ls to recover.  If, from the /bin/sh 
prompt, I run cmd.exe, and try ls under that, it works fine!

If, instead of running sshd as a service I just start it from the command 
line, I do NOT have the problem.

Also, if, instead of using the current sshd, I substitute the Okhapkin port 
of sshd (which I've been using for years), it works fine, even when run as 
a service (with NO other configuration changes except renaming the sshd 
executable).

I'd really like to upgrade to the OpenSSH port, but have been unable to get 
around this problem (which prevents me from using the server with sftp or 
with gui scp programs, since  ls doesn't work). I've made sure that I have 
current cygwin1.dll, sshd, sh, and ls (and checked to make sure there are 
no other cygwin1.dlls in my paths).

Any thoughts on what I'm doing wrong here?

Joel


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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