public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* SSHD error child_info_fork
@ 2018-05-06 13:35 Tasslehoff Burrfoot
  2018-05-06 13:39 ` Marco Atzeri
  0 siblings, 1 reply; 2+ messages in thread
From: Tasslehoff Burrfoot @ 2018-05-06 13:35 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: SSHD error child_info_fork
  2018-05-06 13:35 SSHD error child_info_fork Tasslehoff Burrfoot
@ 2018-05-06 13:39 ` Marco Atzeri
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Atzeri @ 2018-05-06 13:39 UTC (permalink / raw)
  To: cygwin

On 5/6/2018 3:35 PM, Tasslehoff Burrfoot wrote:
> 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).

If you have a 64bit system you should use the x86_64 bit version


> 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



as mentioned here
> Problem reports:       http://cygwin.com/problems.html

please provide the cygcheck.out

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-06 13:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-06 13:35 SSHD error child_info_fork Tasslehoff Burrfoot
2018-05-06 13:39 ` Marco Atzeri

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