Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Authentication-Warning: mcilvanney.cogsci.ed.ac.uk: ht set sender to ht AT cogsci DOT ed DOT ac DOT uk using -f To: cygwin AT cygwin DOT com Subject: OpenSSH-2.2.9p2-1 sshd problem References: <200105021507 DOT f42F7aP28921 AT rtl DOT cygnus DOT com> From: ht AT cogsci DOT ed DOT ac DOT uk (Henry S. Thompson) Date: 15 Oct 2001 18:37:43 +0100 In-Reply-To: Corinna Vinschen's message of "Wed, 2 May 2001 11:07:36 -0400" Message-ID: Lines: 84 User-Agent: Gnus/5.0805 (Gnus v5.8.5) XEmacs/21.2(beta13) (Demeter) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I've just upgraded to cygwin 1.3.3-2 (from -1) and to OpenSSH-2.2.9p2-1 (from 2.9p2-3) and although ssh works fine, my sshd (installed with cygrunsrv) no longer works. Note I do _not_ use ntsec, and I run with both RSAAuthentication yes and PasswordAuthentication yes Changing those around sometimes yields a write failure, sorry I can't reproduce just now to get the exact message. Below are level 1 debug outputs when I run sshd from the command line -- with level 0, I get ssh_exchange_identification: Connection closed by remote host I'd be happy to provide any further debugging info which might help. Thanks ht Server: Accepted publickey for ht from 129.215.197.215 port 1658 ssh2 debug1: Entering interactive session for SSH2. debug1: server_init_dispatch_20 debug1: server_input_channel_open: ctype session rchan 0 win 32768 max 16384 debug1: input_session_request debug1: channel 0: new [server-session] debug1: session_new: init debug1: session_new: session 0 debug1: session_open: channel 0 debug1: session_open: session 0: link with channel 0 debug1: server_input_channel_open: confirm session debug1: session_by_channel: session 0 channel 0 debug1: session_input_channel_req: session 0 channel 0 request pty-req reply 0 debug1: Allocating pty. debug1: session_pty_req: session 0 alloc /dev/tty2 debug1: session_by_channel: session 0 channel 0 debug1: session_input_channel_req: session 0 channel 0 request shell reply 0 debug1: channel 0: rfd 7 isatty debug1: fd 7 setting O_NONBLOCK debug1: fd 3 setting O_NONBLOCK debug1: Received SIGCHLD. debug1: session_by_pid: pid 4944 debug1: session_exit_message: session 0 channel 0 pid 4944 debug1: session_exit_message: release channel 0 debug1: channel 0: write failed debug1: channel 0: output open -> closed debug1: channel 0: close_write debug1: session_close: session 0 pid 4944 debug1: session_pty_cleanup: session 0 release /dev/tty2 syslogin_perform_logout: logout() returned an error Read error from remote host: errno ESHUTDOWN triggered debug1: Calling cleanup 0x421360(0x0) debug1: channel_free: channel 0: server-session, nchannels 1 debug1: Calling cleanup 0x416a2c(0x0) Client: debug1: ssh-userauth2 successful: method publickey debug1: channel 0: new [client-session] debug1: send channel open 0 debug1: Entering interactive session. debug1: ssh_session2_setup: id 0 debug1: channel request 0: shell debug1: channel 0: open confirm rwindow 0 rmax 16384 debug1: channel_free: channel 0: client-session, nchannels 1 debug1: channel_free: channel 0: detaching channel user Connection to calvin.cogsci.ed.ac.uk closed by remote host. Connection to calvin.cogsci.ed.ac.uk closed. debug1: Transferred: stdin 0, stdout 0, stderr 107 bytes in 0.6 seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 175.1 debug1: Exit status -1 -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh W3C Fellow 1999--2001, part-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht AT cogsci DOT ed DOT ac DOT uk URL: http://www.ltg.ed.ac.uk/~ht/ -- 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/