public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Tasslehoff Burrfoot <tasslehoff@burrfoot.it>
To: cygwin@cygwin.com
Subject: SSHD error child_info_fork
Date: Sun, 06 May 2018 13:35:00 -0000	[thread overview]
Message-ID: <CAELo-Y2ny4Xh2JLp0cmYzY-eGuWobFK+O_ASYhGndWCiY=yF2w@mail.gmail.com> (raw)

Hi, I recently noticed a problem with sshd on one of my Windows 10 updated
to the recent 1803 update.
First of all I'm using cygwin x86 updated to the latest packages, during
sshd startup I have no errors in the Windows Event Log using services.msc
or using "cygrunsrv --start sshd", same launching sshd deamon from console.
I have no firewall blocking connections and the ssh client is connecting
from a debian host on lan on the same subnet (no networking issues).

When I try to connect to the cygwin sshd deamon I get this
error: ssh_exchange_identification: read: Connection reset by peer

Launching the sshd deamon all seems to start without problems, but when I
try to connect I get this error:
=====================
$ /usr/sbin/sshd -D
/etc/sshd_config line 102: Deprecated option UsePrivilegeSeparation
Could not load host key: /etc/ssh_host_ed25519_key
      0 [main] sshd 19264 child_info_fork::abort:
C:\cygwin\bin\cygiconv-2.dll: Loaded to different address: parent(0xEE0000)
!= child(0x840000)
=====================

This is the same launching sshd with debug option
=====================
$ /usr/sbin/sshd -Dd
/etc/sshd_config line 102: Deprecated option UsePrivilegeSeparation
debug1: sshd version OpenSSH_7.7, OpenSSL 1.0.2o  27 Mar 2018
debug1: private host key #0: ssh-rsa SHA256:xxx
debug1: private host key #1: ecdsa-sha2-nistp256 SHA256:xxx
debug1: key_load_private: No such file or directory
debug1: key_load_public: No such file or directory
Could not load host key: /etc/ssh_host_ed25519_key
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-Dd'
debug1: Bind to port 22 on ::.
Server listening on :: port 22.
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.

debug1: fd 5 clearing O_NONBLOCK
debug1: Server will not fork when running in debugging mode.
debug1: rexec start in 5 out 5 newsock 5 pipe -1 sock 8
debug1: inetd sockets after dupping: 3, 3
Connection from 192.168.1.100 port 43677 on 192.168.1.200 port 22
debug1: Client protocol version 2.0; client software version OpenSSH_6.7p1
Debian-5+deb8u4
debug1: match: OpenSSH_6.7p1 Debian-5+deb8u4 pat OpenSSH* compat 0x04000000
debug1: Local version string SSH-2.0-OpenSSH_7.7
      0 [main] sshd 11752 child_info_fork::abort:
C:\cygwin\bin\cygiconv-2.dll: Loaded to different address: parent(0x850000)
!= child(0xED0000)
fork of unprivileged child failed
debug1: do_cleanup
=====================

Do you have any suggestion?

Thanks

Tas

---
*"Arguing that you don't care about the right to privacy because you have
nothing to hide is no different than saying you don't care about free
speech because you have nothing to say."*
---
Public PGP key block at
http://tasslehoff.burrfoot.it/url/pgp

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

             reply	other threads:[~2018-05-06 13:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-06 13:35 Tasslehoff Burrfoot [this message]
2018-05-06 13:39 ` Marco Atzeri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAELo-Y2ny4Xh2JLp0cmYzY-eGuWobFK+O_ASYhGndWCiY=yF2w@mail.gmail.com' \
    --to=tasslehoff@burrfoot.it \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).