delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/13/03:25:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <96C14D00FA99D311A8D60008C791F3640E177DC9@devwagwodx0009.wob.vw.de>
From: "Sommer, Thorsten" <Thorsten DOT Sommer AT volkswagen DOT de>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: ssh: from localhost: yes - from remote host: no
Date: Thu, 13 Dec 2001 09:21:23 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

Hola, folx ...

once again (after trying to tie down some loose ends in my
installation), my attempts to get sshd running failed :-(
(And I thought I had found the error at last ...)

Description:
I have setup a sshd as described her:
    http://tech.erdelynet.com/cygwin-sshd.asp
and "ssh localhost" works just fine.

But when trying to connect from a remote host, I simply get the
following output:

----
$ ssh 111.111.111.111
Could not reverse map address 222.222.222.222.
Last login: Thu Dec 13 09:10:10 2001 from 222.222.222.222
Connection to 111.111.111.111 closed by remote host.
Connection to 111.111.111.111 closed.
----

On the destination I get the following output:

---
[ ... ] (Up to here everything as it should be ...)
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
debug2: callback done
debug1: Received SIGCHLD.
debug1: session_by_pid: pid 6108
debug1: session_exit_message: session 0 channel 0 pid 6108
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 6108
debug1: session_pty_cleanup: session 0 release /dev/tty2
Read error from remote host: errno ESHUTDOWN triggered
debug1: Calling cleanup 0x41eb04(0x0)
debug1: channel_free: channel 0: server-session, nchannels 1
debug3: channel_free: status: The following connections are open:
  #0 server-session (t4 r0 i1/262 o128/0 fd 7/-1)

debug3: channel_close_fds: channel 0: r 7 w -1 e -1
debug1: Calling cleanup 0x4169ac(0x0)
----

Another demonstration of "Never change a running system!"
But because it was running already, I am pretty shure I am
just missing a VERY small thing :-)

Please help,
Th.

-- 
Thorsten Sommer

Any technology distinguishable from magic is insufficiently advanced.

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

- Raw text -


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