question about sshd hang during rexec

Larry Hall lh-no-personal-replies-please@cygwin.com
Thu Oct 6 23:44:00 GMT 2005


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/



More information about the Cygwin mailing list