delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/01/14:04:07

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
Message-ID: <20051001180346.32645.qmail@web35008.mail.mud.yahoo.com>
Date: Sat, 1 Oct 2005 11:03:46 -0700 (PDT)
From: jhdiuad jhdiuad <jhdiuad AT yahoo DOT com>
Subject: question about sshd hang during rexec
To: cygwin AT sourceware DOT org
MIME-Version: 1.0

Hi, sshd appears to hang after rexec() when I try to
connect.
I am running sshd version OpenSSH_4.2p1 on windows
2000sp4.
If I run /usr/sbin/sshd -dddD -r it works OK.
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. 
Thanks.
--------
 

$ /usr/sbin/sshd -dddD
debug2: load_server_config: filename /etc/sshd_config
debug2: load_server_config: done config len = 187
debug2: parse_server_config: config /etc/sshd_config
len 187
debug1: sshd version OpenSSH_4.2p1
debug1: private host key: #0 type 0 RSA1
debug3: Not a RSA1 key file /etc/ssh_host_rsa_key.
debug1: read PEM private key done: type RSA
debug1: private host key: #1 type 1 RSA
debug3: Not a RSA1 key file /etc/ssh_host_dsa_key.
debug1: read PEM private key done: type DSA
debug1: private host key: #2 type 2 DSA
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-dddD'
debug2: fd 3 setting O_NONBLOCK
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
Generating 768 bit RSA key.
RSA key generation complete.
debug1: fd 4 clearing O_NONBLOCK
debug1: Server will not fork when running in debugging
mode.
debug3: send_rexec_state: entering fd = 7 config len
187
debug3: ssh_msg_send: type 0
debug3: send_rexec_state: done
debug1: rexec start in 4 out 4 newsock 4 pipe -1 sock
7

[ just hangs here ]



		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

--
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