delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/06/19:45: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://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.2.1.2.0.20051006193618.0397bcb0@pop.prospeed.net>
Date: Thu, 06 Oct 2005 19:44:45 -0400
To: jhdiuad jhdiuad <jhdiuad AT yahoo DOT com>, cygwin AT sourceware DOT org
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: question about sshd hang during rexec
In-Reply-To: <20051001180346.32645.qmail@web35008.mail.mud.yahoo.com>
References: <20051001180346 DOT 32645 DOT qmail AT web35008 DOT mail DOT mud DOT yahoo DOT com>
Mime-Version: 1.0

At 02:03 PM 10/1/2005, you wrote:
>Hi, sshd appears to hang after rexec() when I try to
>connect.
>I am running sshd version OpenSSH_4.2p1 on windows
>2000sp4.


Sorry, I don't see this.


>If I run /usr/sbin/sshd -dddD -r it works OK.


How's that again?  What's '-r'?  I don't see that on the man page.  
Are you sure you're running Cygwin's sshd?


>I have tried mv'ing the /usr/sbin/sshd to a tempfile
>and replacing it with another program and that program
>does get executed. Also I wrote a small program to
>test rexec() and it does appear to be working.  I am
>using the default sshd_config and ssh_config files
>created by ssh-host-config. I've tried installing
>cygwin from scratch and it doesn't fix the problem.
> 
>Any help would be appreciated. 


OK, if this is still an issue for you, let's start at the beginning.
Read and follow all of the guidelines found here:


>Problem reports:       http://cygwin.com/problems.html


FWIW, starting 'sshd' at the command line is generally considered to be a
"no-no", at least if you ever plan to run it as a service.  And if you have
run it as a service in the past, then you're likely to have problems running
it from the command line unless you ran around to all the files that 'sshd'
likes to use/create and set the permissions properly.  But, if you 
follow the problem reporting guidelines I pointed to above, it should 
become fairly obvious whether this is an issue for you.



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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