This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

SSHD error child_info_fork


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]