delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/05/06/09:35:59

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=EkJDZtd39HZMyI+MfGJmUSTcV3J8f
s1RJFalMTC3KyWrqMyDAgq1U8/4smN9PXovqt6v+tFXicwQzQ5/tEbgrTCcwOtRS
HVEaRYR1GIWq+oeZJnsQhAPkSiemAYgnGjhpvGjSNO2n+KAcP5klq4PMHZJM9gCw
qzPX5wZkPa4rNU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=LcqV/Y89D8pLjySzh/JO2zp41TQ=; b=lck
iBO4Qja5LTkqYKl9CzoPLsi5wanwtwcpQIPKP1MUnNWQM7AcFys7+bvdS2jjrFip
5bpYhrY3QeMTcT0iX8lnmHSesTDOwjUEpVMcgyabLDp0aiSRAc5DHRCJ9Hp9thkR
MxWw5sWIFcjZDX3gh1pQlbkDIAJvcdesQ0zxIjnE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=BAYES_00,GIT_PATCH_2,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=firewall, listening, blocking, connections
X-HELO: sender-of-o52.zoho.com
X-Gm-Message-State: ALQs6tD51ja3RuDvruo1cZJRvy7PbnU7XVriXxidc82mGwS8mk3bzvcq 4UbP6a40GFfekxf/01gEFn5nlFLc3oqQ6A9XbEA=
X-Google-Smtp-Source: AB8JxZqV+ZEBVeIM8ayAvTIbHq9X531DvWEk6GnTRFvAGP8nfyuqlBQPp+AmtI8zu0eb5DVcHE5t8WTVpFMMSQ55+Bw=
X-Received: by 2002:a1f:41cf:: with SMTP id o198-v6mr28476284vka.162.1525613740869; Sun, 06 May 2018 06:35:40 -0700 (PDT)
MIME-Version: 1.0
From: Tasslehoff Burrfoot <tasslehoff AT burrfoot DOT it>
Date: Sun, 06 May 2018 13:35:30 +0000
X-Gmail-Original-Message-ID: <CAELo-Y2ny4Xh2JLp0cmYzY-eGuWobFK+O_ASYhGndWCiY=yF2w AT mail DOT gmail DOT com>
Message-ID: <CAELo-Y2ny4Xh2JLp0cmYzY-eGuWobFK+O_ASYhGndWCiY=yF2w@mail.gmail.com>
Subject: SSHD error child_info_fork
To: cygwin AT cygwin DOT com
X-ZohoMailClient: External
X-IsSubscribed: yes

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

- Raw text -


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