From libssh2-devel-bounces@cool.haxx.se  Wed Jul  1 00:40:03 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 05UMdQqA031652;
	Wed, 1 Jul 2020 00:39:55 +0200
Received: from mail.panic.com (mail.panic.com [38.103.165.36])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 05UMdNMu031608
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Wed, 1 Jul 2020 00:39:24 +0200
Received: from [10.0.13.24] (router0.pittock.panic.com [10.0.4.1])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.panic.com (Postfix) with ESMTPSA id B261AC0060
 for <libssh2-devel@cool.haxx.se>; Tue, 30 Jun 2020 15:39:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=panic.com;
 s=default; t=1593556757;
 bh=td2dDbpFvsc2AQQ47zc90iL/lkJYA6E7yMjOtnQBA9o=;
 h=From:Subject:Date:References:To:In-Reply-To;
 b=QepOxRzof/SpufqrWWUkfx914ZbEk9XmjTEl8wgSgzqs8osAAuebTe/a/Jf42QNUB
 yK0HGfguS60fs86U6WfHmAVVwvUc3jeWsLrT6A4mMSo7JIbNraqBNuz7Cods29Ry74
 G29tP6G/FBswV/5AIB7Dp0lF8SXlTZ9CgC8jqXxg=
From: Will Cosgrove <will@panic.com>
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
Subject: Re: diffie-hellman-group14-sha256 and MAXGROUP
Date: Tue, 30 Jun 2020 15:39:17 -0700
References: <244a55c2-89b2-1a20-e15d-7b691299282f@akips.com>
To: libssh2 development <libssh2-devel@cool.haxx.se>
In-Reply-To: <244a55c2-89b2-1a20-e15d-7b691299282f@akips.com>
Message-Id: <F0E77DFD-861F-4D5A-A761-EE2CB56247A0@panic.com>
X-Mailer: Apple Mail (2.3608.80.23.2.2)
X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id
 05UMdNMu031608
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 05UMdQqA031652

> We see that diffie-hellman-group14-sha256 support has recently been 
> added to libssh2 but that it is not yet in any release.  Does anyone 
> know when an official release containing this key exchange algorithm 
> will be available?

We don’t have a release scheduled, but hopefully soonish.

> Some other connections fail because LIBSSH2_DH_GEX_MAXGROUP is too 
> small.  These customers' machines reject values lower than 4096 by 
> default but libssh2 only offers the range from 1024 to 2048.  Do you 
> have any plans to raise the MAXGROUP value?  Openssh has a min/max range 
> of 2048/8192 so perhaps that could be adopted in libssh2.

Thanks for bringing this to our attention, I’ve submitted a PR to update these values based on RFC 8270 which matches OpenSSH.

Cheers,

Will
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Wed Jul  1 11:59:01 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 0619wQGR008520;
	Wed, 1 Jul 2020 11:58:50 +0200
Received: from goalkeeper.city-fan.org
 (tunnel60196-pt.tunnel.tserv5.lon1.ipv6.he.net
 [IPv6:2001:470:1f08:d97:0:0:0:2])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 0619wNp3008501
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Wed, 1 Jul 2020 11:58:23 +0200
Received: from tycho.city-fan.org (tycho.city-fan.org
 [IPv6:2001:470:9279:0:0:0:0:21]) (authenticated bits=0)
 by goalkeeper.city-fan.org (8.15.2/8.15.2) with ESMTPSA id 0619wNhP2149140
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO);
 Wed, 1 Jul 2020 10:58:24 +0100
DKIM-Filter: OpenDKIM Filter v2.11.0 goalkeeper.city-fan.org 0619wNhP2149140
Date: Wed, 1 Jul 2020 10:58:23 +0100
From: Paul Howarth <paul@city-fan.org>
To: Bruno Buzzi Brassesco <bruno.brasesco@gmail.com>
Subject: Re: Compile libssh2 on Linux
Message-ID: <20200701105823.34890d3e@tycho.city-fan.org>
In-Reply-To: <CALjxVcRSH+BAwuAv1mYOM1aKwoz+b8r1vzHncSJV7YNvjU-2Bg@mail.gmail.com>
References: <CALjxVcRSH+BAwuAv1mYOM1aKwoz+b8r1vzHncSJV7YNvjU-2Bg@mail.gmail.com>
X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-redhat-linux-gnu)
MIME-Version: 1.0
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Cc: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 0619wQGR008520

On Sun, 21 Jun 2020 20:22:45 -0300
Bruno Buzzi Brassesco <bruno.brasesco@gmail.com> wrote:

> Hi,
> 
> I have compiled libssh2 on Linux from
> https://libssh2.org/download/libssh2-1.9.0.tar.gz.
> 
> But the name of the generated lib is "libssh2.so.1.0.1".
> Is this correct ? Or it should be 1.9.0 ?

It's correct. At least it's the same as what I get when I build it
myself.

Paul.
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Wed Jul  1 12:39:17 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 061Ad1hK027969;
	Wed, 1 Jul 2020 12:39:13 +0200
Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com
 [IPv6:2a00:1450:4864:20:0:0:0:52a])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 061Ad0kE027916
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Wed, 1 Jul 2020 12:39:01 +0200
Received: by mail-ed1-x52a.google.com with SMTP id b15so19173531edy.7
 for <libssh2-devel@cool.haxx.se>; Wed, 01 Jul 2020 03:39:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=CHUr84F8uFWy64Hg2XFgcyIE1Qk7bNTK4SUNCueAvF4=;
 b=Cm2vVWR1paeCiKcr5o8988z5OmUGN9jVaYRYRsf3+Qp3AxPgXMmP96bWxOpvBLLS5f
 LCdWXf92yz740XuhwH1xnkVXL/5VqDnQTMm6p1EyWzz4ime3Y5TcavWeuUQMZlzTx4jn
 tKDVk1FxOYLqI7fmkhMMZlx3purXRIo1d7/n4tdeCgo3hlvbM493sJttCeOnS6mIdsZY
 w3CNXCMP5LTziYKg0ml8Zr9/navxlAFJWMpn7t9BhKForqRegbX2vD1t1ps65v8GdCeu
 sYxNrfVmySW0O9zmMg+Ze3mD37zXJg6DaCFRHcbviCb5WLnAdUs6HKXPR8baX+Q7tosa
 w+2g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=CHUr84F8uFWy64Hg2XFgcyIE1Qk7bNTK4SUNCueAvF4=;
 b=jIUFDsAT68LH1ifx2qt5gtSMrKcewDSrveAR4OXmKc7IustfIPmJsManEa/L8C/URy
 OrY5g1cnRBrSuh2E0i5CqGKKJg0oh7vXjE//sEMgXpkeGM+v0gVwNctkkxZca5oLZS4Q
 KrZp//a+NfP/+aXAv/EYMXbujlu44pGJhKF5iqoEdBMPITGG4PPqanKwwJqmgzaNaovP
 WBeOaTPP0Yp6uAhahqp0t0ncyzotr9yP7gcMD5pPKfsTwMiFiTljNMXs0F4mDZ3hrXGA
 86/oQfLSgX6tN4mJkMpwoQZJduQRO9g31WfKf7iH4/IfopYCqBHRN0lTJd3P8WMpdS70
 Ygtw==
X-Gm-Message-State: AOAM5319Qc/AO6tdDn97687aoAkddRK8mqjcLAJwAPngtp6/Vy3qdQF7
 wtd2Ru+nmdPyuhaZJ3RFpZZ2LetTXFbUeK3ey6QvMg==
X-Google-Smtp-Source: ABdhPJxmUPEMNbCfCRhKB6yA4zkVhPYTwZqGpu0FYP/6F/yjYRtuXJMfP4eUADpC5y/7F0ymd5TucIoSyyba59Nfbvw=
X-Received: by 2002:a05:6402:319b:: with SMTP id
 di27mr28756691edb.133.1593599936267; 
 Wed, 01 Jul 2020 03:38:56 -0700 (PDT)
MIME-Version: 1.0
References: <CALjxVcRSH+BAwuAv1mYOM1aKwoz+b8r1vzHncSJV7YNvjU-2Bg@mail.gmail.com>
 <20200701105823.34890d3e@tycho.city-fan.org>
In-Reply-To: <20200701105823.34890d3e@tycho.city-fan.org>
From: Bruno Buzzi Brassesco <bruno.brasesco@gmail.com>
Date: Wed, 1 Jul 2020 07:38:43 -0300
Message-ID: <CALjxVcSFQ_ywiKU8WD4JsZ=4szHjMeLu+NYYKykpcRJJtESNug@mail.gmail.com>
Subject: Re: Compile libssh2 on Linux
To: Paul Howarth <paul@city-fan.org>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Cc: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============1265948283=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============1265948283==
Content-Type: multipart/alternative; boundary="0000000000001d876f05a95ee6a5"

--0000000000001d876f05a95ee6a5
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Paul,
Thank you.
What is the logic behind the version number of the project and library ?
(If there is any logic)
Regards,
Bruno

El mi=C3=A9., 1 de julio de 2020 06:58, Paul Howarth <paul@city-fan.org>
escribi=C3=B3:

> On Sun, 21 Jun 2020 20:22:45 -0300
> Bruno Buzzi Brassesco <bruno.brasesco@gmail.com> wrote:
>
> > Hi,
> >
> > I have compiled libssh2 on Linux from
> > https://libssh2.org/download/libssh2-1.9.0.tar.gz.
> >
> > But the name of the generated lib is "libssh2.so.1.0.1".
> > Is this correct ? Or it should be 1.9.0 ?
>
> It's correct. At least it's the same as what I get when I build it
> myself.
>
> Paul.
>

--0000000000001d876f05a95ee6a5
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Paul,<div dir=3D"auto">Thank you.</div><div dir=3D"auto">=
What is the logic behind the version number of the project and library ? (I=
f there is any logic)</div><div dir=3D"auto">Regards,</div><div dir=3D"auto=
">Bruno</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D=
"gmail_attr">El mi=C3=A9., 1 de julio de 2020 06:58, Paul Howarth &lt;<a hr=
ef=3D"mailto:paul@city-fan.org">paul@city-fan.org</a>&gt; escribi=C3=B3:<br=
></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-=
left:1px #ccc solid;padding-left:1ex">On Sun, 21 Jun 2020 20:22:45 -0300<br=
>
Bruno Buzzi Brassesco &lt;<a href=3D"mailto:bruno.brasesco@gmail.com" targe=
t=3D"_blank" rel=3D"noreferrer">bruno.brasesco@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi,<br>
&gt; <br>
&gt; I have compiled libssh2 on Linux from<br>
&gt; <a href=3D"https://libssh2.org/download/libssh2-1.9.0.tar.gz" rel=3D"n=
oreferrer noreferrer" target=3D"_blank">https://libssh2.org/download/libssh=
2-1.9.0.tar.gz</a>.<br>
&gt; <br>
&gt; But the name of the generated lib is &quot;libssh2.so.1.0.1&quot;.<br>
&gt; Is this correct ? Or it should be 1.9.0 ?<br>
<br>
It&#39;s correct. At least it&#39;s the same as what I get when I build it<=
br>
myself.<br>
<br>
Paul.<br>
</blockquote></div>

--0000000000001d876f05a95ee6a5--

--===============1265948283==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No
Mi1kZXZlbAo=

--===============1265948283==--

From libssh2-devel-bounces@cool.haxx.se  Wed Jul  1 13:12:47 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 061BCOKS012795;
	Wed, 1 Jul 2020 13:12:40 +0200
Received: from goalkeeper.city-fan.org
 (tunnel60196-pt.tunnel.tserv5.lon1.ipv6.he.net
 [IPv6:2001:470:1f08:d97:0:0:0:2])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 061BCLcr012770
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Wed, 1 Jul 2020 13:12:22 +0200
Received: from tycho.city-fan.org (tycho.city-fan.org
 [IPv6:2001:470:9279:0:0:0:0:21]) (authenticated bits=0)
 by goalkeeper.city-fan.org (8.15.2/8.15.2) with ESMTPSA id 061BCM8e2151446
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO);
 Wed, 1 Jul 2020 12:12:22 +0100
DKIM-Filter: OpenDKIM Filter v2.11.0 goalkeeper.city-fan.org 061BCM8e2151446
Date: Wed, 1 Jul 2020 12:12:21 +0100
From: Paul Howarth <paul@city-fan.org>
To: Bruno Buzzi Brassesco <bruno.brasesco@gmail.com>
Subject: Re: Compile libssh2 on Linux
Message-ID: <20200701121221.1fba2132@tycho.city-fan.org>
In-Reply-To: <CALjxVcSFQ_ywiKU8WD4JsZ=4szHjMeLu+NYYKykpcRJJtESNug@mail.gmail.com>
References: <CALjxVcRSH+BAwuAv1mYOM1aKwoz+b8r1vzHncSJV7YNvjU-2Bg@mail.gmail.com>
 <20200701105823.34890d3e@tycho.city-fan.org>
 <CALjxVcSFQ_ywiKU8WD4JsZ=4szHjMeLu+NYYKykpcRJJtESNug@mail.gmail.com>
X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-redhat-linux-gnu)
MIME-Version: 1.0
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Cc: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 061BCOKS012795

On Wed, 1 Jul 2020 07:38:43 -0300
Bruno Buzzi Brassesco <bruno.brasesco@gmail.com> wrote:

> Paul,
> Thank you.
> What is the logic behind the version number of the project and
> library ? (If there is any logic)

It's all to do with the way libtool works:

https://autotools.io/libtool/version.html

Paul.
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Wed Jul  1 18:05:01 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 061G4Xf1024187;
	Wed, 1 Jul 2020 18:04:51 +0200
Received: from foo.stuge.se (foo.stuge.se [212.116.89.98])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 061G4V1f024137
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Wed, 1 Jul 2020 18:04:31 +0200
Received: (qmail 6999 invoked by uid 1000); 1 Jul 2020 16:04:25 -0000
Message-ID: <20200701160425.6998.qmail@stuge.se>
Date: Wed, 1 Jul 2020 16:04:25 +0000
From: Peter Stuge <peter@stuge.se>
To: libssh2-devel@cool.haxx.se
Subject: Re: Compile libssh2 on Linux
References: <CALjxVcRSH+BAwuAv1mYOM1aKwoz+b8r1vzHncSJV7YNvjU-2Bg@mail.gmail.com>
 <20200701105823.34890d3e@tycho.city-fan.org>
 <CALjxVcSFQ_ywiKU8WD4JsZ=4szHjMeLu+NYYKykpcRJJtESNug@mail.gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <CALjxVcSFQ_ywiKU8WD4JsZ=4szHjMeLu+NYYKykpcRJJtESNug@mail.gmail.com>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 061G4Xf1024187

Bruno Buzzi Brassesco wrote:
> What is the logic behind the version number of the project and library ?

The project version is more or less aesthetical - it's for humans and
it is not guaranteed to have technical meaning.

The library file suffix numbers are generated by libtool, and project
developers have a duty to instruct libtool such that these numbers do
have technical meaning, specifically, as long as maintainers do this
job correctly (as is the case in libssh2) dynamically linked
applications work correctly even if they are execute on systems with
different versions (both project and .so file) than were used at link
time. Some search phrases are "API vs. ABI difference" and "SONAME version".


This may seem complicated, the good news is that library users don't
need to care about this, and IMO should not.

I strongly recommend to use pkg-config in your build system.

Run pkg-config --atleast-version=1.9.0 libssh2 in the build system to
detect whether libssh2 in your required version is available at build time.

Use pkg-config --cflags libssh2 and pkg-config --libs libssh2 to get the
CFLAGS and LIBS/LDFLAGS needed to compile for and link with libssh2.

The SONAME versioning can be treated as an operating system detail.


//Peter
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Thu Jul  2 21:25:35 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 062JOqH2003393;
	Thu, 2 Jul 2020 21:25:22 +0200
Received: from wp220.webpack.hosteurope.de (wp220.webpack.hosteurope.de
 [IPv6:2a01:488:42:1000:50ed:84e3:0:0])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 062JOn0J003346
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Thu, 2 Jul 2020 21:24:49 +0200
Received: from p200300ddef1140c6cdc623e41122765d.dip0.t-ipconnect.de
 ([2003:dd:ef11:40c6:cdc6:23e4:1122:765d]); authenticated
 by wp220.webpack.hosteurope.de running ExIM with esmtpsa
 (TLS1.1:RSA_AES_256_CBC_SHA1:256)
 id 1jr4pB-0007g7-Hs; Thu, 02 Jul 2020 21:24:45 +0200
Date: Thu, 2 Jul 2020 21:24:44 +0200
From: Andreas Falkenhahn <andreas@falkenhahn.com>
X-Priority: 3 (Normal)
Message-ID: <1171349512.20200702212444@falkenhahn.com>
To: libssh2-devel@cool.haxx.se
Subject: Support for darwinssl?
MIME-Version: 1.0
X-bounce-key: webpack.hosteurope.de; andreas@falkenhahn.com; 1593717891;
 b621b1ca; 
X-HE-SMSGID: 1jr4pB-0007g7-Hs
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 062JOqH2003393

Hi,

are there any plans for supporting macOS's native SSL stack in the future? I'm currently trying to use libssh2 from curl, which has support for darwinssl, but AFAICS enabling libssh2 in curl would require me to switch to OpenSSL and thus bloat my programs quite significantly because libssh2 doesn't support darwinssl...

-- 
Best regards,
 Andreas Falkenhahn                          mailto:andreas@falkenhahn.com

_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Thu Jul  2 21:30:26 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 062JULGS006769;
	Thu, 2 Jul 2020 21:30:25 +0200
Received: from foo.stuge.se (foo.stuge.se [212.116.89.98])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 062JUJl5006668
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Thu, 2 Jul 2020 21:30:19 +0200
Received: (qmail 24863 invoked by uid 1000); 2 Jul 2020 19:30:13 -0000
Message-ID: <20200702193013.24862.qmail@stuge.se>
Date: Thu, 2 Jul 2020 19:30:13 +0000
From: Peter Stuge <peter@stuge.se>
To: libssh2-devel@cool.haxx.se
Subject: Re: Support for darwinssl?
References: <1171349512.20200702212444@falkenhahn.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <1171349512.20200702212444@falkenhahn.com>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 062JULGS006769

Andreas Falkenhahn wrote:
> are there any plans for supporting macOS's native SSL stack in the future?

Noone has mentioned on the list, so I think you've got the job.


//Peter
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Thu Jul  2 21:46:41 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 062JkTSI015894;
	Thu, 2 Jul 2020 21:46:37 +0200
Received: from wp220.webpack.hosteurope.de (wp220.webpack.hosteurope.de
 [IPv6:2a01:488:42:1000:50ed:84e3:0:0])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 062JkRQu015832
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Thu, 2 Jul 2020 21:46:27 +0200
Received: from p200300ddef1140c6cdc623e41122765d.dip0.t-ipconnect.de
 ([2003:dd:ef11:40c6:cdc6:23e4:1122:765d]); authenticated
 by wp220.webpack.hosteurope.de running ExIM with esmtpsa
 (TLS1.1:RSA_AES_256_CBC_SHA1:256)
 id 1jr5A8-0001bc-BR; Thu, 02 Jul 2020 21:46:24 +0200
Date: Thu, 2 Jul 2020 21:46:23 +0200
From: Andreas Falkenhahn <andreas@falkenhahn.com>
X-Priority: 3 (Normal)
Message-ID: <1032315062.20200702214623@falkenhahn.com>
To: libssh2 development <libssh2-devel@cool.haxx.se>
Subject: Re: Support for darwinssl?
In-Reply-To: <20200702193013.24862.qmail@stuge.se>
References: <1171349512.20200702212444@falkenhahn.com>
 <20200702193013.24862.qmail@stuge.se>
MIME-Version: 1.0
X-bounce-key: webpack.hosteurope.de; andreas@falkenhahn.com; 1593719189;
 1c1456b6; 
X-HE-SMSGID: 1jr5A8-0001bc-BR
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 062JkTSI015894

On 02.07.2020 at 21:30 Peter Stuge wrote:

> Noone has mentioned on the list, so I think you've got the job.

I'm afraid I'm lacking the experience with SSL. Nothing makes me more dizzy than looking at all those cryptic functions exported by OpenSSL :)

-- 
Best regards,
 Andreas Falkenhahn                            mailto:andreas@falkenhahn.com

_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Thu Jul  2 22:20:04 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 062KJqSJ002245;
	Thu, 2 Jul 2020 22:20:00 +0200
Received: from mail.panic.com (mail.panic.com [38.103.165.36])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 062KHIO2000859
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Thu, 2 Jul 2020 22:17:19 +0200
Received: from imac.localdomain (c-24-21-229-226.hsd1.or.comcast.net
 [24.21.229.226])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.panic.com (Postfix) with ESMTPSA id B5AC4C0059
 for <libssh2-devel@cool.haxx.se>; Thu,  2 Jul 2020 13:17:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=panic.com;
 s=default; t=1593721033;
 bh=5SDSokQp9AiptdteEt3IySvlT/qbJbCkxoT2Fc76d0I=;
 h=Subject:From:In-Reply-To:Date:References:To;
 b=NT5IVOyVBWb0pQ6A6853+6Qc+YL++2WAoJrPNCd97W9ZujvYEP6YW5x1jRW0LDknj
 OYUez1rE6Sw2tmeewJSV+Q0wpstQaIwMqY6gAox6SBVYzh3qvk+rpx54HDcdnxoB8U
 YAylmvxBbn7ECnnjccVGkrJOXZKNAgZP//Unc/Gg=
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
Subject: Re: Support for darwinssl?
From: Will Cosgrove <will@panic.com>
X-Priority: 3 (Normal)
In-Reply-To: <1171349512.20200702212444@falkenhahn.com>
Date: Thu, 2 Jul 2020 13:17:13 -0700
Message-Id: <890C3CED-1DB1-48E0-A52C-3272D7C7A1CE@panic.com>
References: <1171349512.20200702212444@falkenhahn.com>
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-Mailer: Apple Mail (2.3608.80.23.2.2)
X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id
 062KHIO2000859
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 062KJqSJ002245

There are no immediate plans to support this, however we would be happy to entertain any PRs which include support.

FWIW, the OpenSSL libraries are ~ 5 MB in size, an average macOS icon is ~ 2 MB. I wouldn’t worry about the size of OpenSSL.

Thanks,

Will

> On Jul 2, 2020, at 12:24 PM, Andreas Falkenhahn <andreas@falkenhahn.com> wrote:
> 
> Hi,
> 
> are there any plans for supporting macOS's native SSL stack in the future? I'm currently trying to use libssh2 from curl, which has support for darwinssl, but AFAICS enabling libssh2 in curl would require me to switch to OpenSSL and thus bloat my programs quite significantly because libssh2 doesn't support darwinssl...


_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Mon Jul  6 13:41:29 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 066BemP5005380;
	Mon, 6 Jul 2020 13:41:18 +0200
Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com
 [IPv6:2607:f8b0:4864:20:0:0:0:231])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 066BejEX005320
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Mon, 6 Jul 2020 13:40:46 +0200
Received: by mail-oi1-x231.google.com with SMTP id t4so13913280oij.9
 for <libssh2-devel@cool.haxx.se>; Mon, 06 Jul 2020 04:40:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=dFsjlRc4sR6ldLr8jp1wY4XVRaCJk8AcGlOOM1PJ47E=;
 b=CAy1JttHhsYxpgujJ19MvAQMzCeZrIBKCGTL1wSgd4RHWeANMJ4ubGG3FRl8nzLLCU
 Exq+WEzl4L/2eBYa6akFX7PZLB5W0pdrSQxWeWUSNeFNvsrwwMrkZN9CtTbnHi/IgKux
 JBTiPc+ZfRsre4M0+MEjX1LiEDHhzZ4P3ygdjbHlaoTPzaMgm0yLgUjp2yxzsbTAaxa6
 E7B9WEq5v5jhNiXpm/uGMw/JnWLXEH7wr84dOlldIaXtP+yZ9yU4ALCVEENv/CBmCKCN
 3vft3eidVugG9qFOjW8NVY+G4bGCXaFUdg9IIPdpIfhAtIB6svH8KwAnpCABVIq7Nvxb
 d7MA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=dFsjlRc4sR6ldLr8jp1wY4XVRaCJk8AcGlOOM1PJ47E=;
 b=rSLDrFfNhZdj6IbovRaQcl71mOyom5HGdJgZyFqpPidvs7ZgB2VGaJt3kGSGCNHY+L
 xlTm5LSX8+76PGoCOpgwm/OwV22oEMJERxUnhN4phPutHu1d2PK4kmZOMT91dhNED1xC
 28kmDOAtqxwGuziAQz0/cnV2mp8EOf7RqXPhLVAoB46hOyB0uIAMlv3TNVlOAV026SnG
 7QWfDF9XtmfuuAOToJvqrOxfhn4h4vsx5NVY1+D9DGKIzQPPpGA7K6u0iKBWdo/TZzYu
 ZEB6wAdkI5K1czM3Hzbo+SPIfUTPbcbuWOBIKAS36OD2fnMe9Sl6AApQ+OGQ6tK7EG5W
 1KNw==
X-Gm-Message-State: AOAM533Q2BuossCbsiwOOs2a/eHOQaUBd6sjBHyJfXgm9zJ4XjBp8dRC
 4LwgsEmwaSdcx41PJfIvjaCWkc5eXUDBAnGl8uvCCNdJ
X-Google-Smtp-Source: ABdhPJyuCagFXWzJfMBsfZqOvvFr6Eg3DE9Tw2KbhC8EDBA5gavs5SutCTX0vkBoaxGXjij3zLrDoH+OM4XY61iFeWo=
X-Received: by 2002:aca:c5c2:: with SMTP id v185mr37080915oif.75.1594035641124; 
 Mon, 06 Jul 2020 04:40:41 -0700 (PDT)
MIME-Version: 1.0
From: Micka <mickamusset@gmail.com>
Date: Mon, 6 Jul 2020 13:40:29 +0200
Message-ID: <CAF+MRtm6T7C6KwrN_an08yOg9u6nT6h2Cb+Vf8yDPutrK6PDbQ@mail.gmail.com>
Subject: need new release !
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============1302932540=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============1302932540==
Content-Type: multipart/alternative; boundary="000000000000260d0105a9c458cb"

--000000000000260d0105a9c458cb
Content-Type: text/plain; charset="UTF-8"

Hi,

Can someone put a new official release that fix this issue:

https://nvd.nist.gov/vuln/detail/CVE-2019-17498


I know, that in the branch master, it's fixed, but I need a new official
release !


Michael,

--000000000000260d0105a9c458cb
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>Can someone put a new official rele=
ase that fix this issue:</div><div><br></div><div><a href=3D"https://nvd.ni=
st.gov/vuln/detail/CVE-2019-17498" target=3D"_blank">https://nvd.nist.gov/v=
uln/detail/<span class=3D"gmail-il">CVE</span>-2019-17498</a>=C2=A0=C2=A0</=
div><div><br></div><div><br></div><div>I know, that in the branch master, i=
t&#39;s fixed, but I need a new official release !</div><div><br></div><div=
><br></div><div>Michael,=C2=A0<br></div></div>

--000000000000260d0105a9c458cb--

--===============1302932540==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No
Mi1kZXZlbAo=

--===============1302932540==--

From libssh2-devel-bounces@cool.haxx.se  Tue Jul  7 09:37:46 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 0677b2qH015800;
	Tue, 7 Jul 2020 09:37:33 +0200
Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com
 [IPv6:2607:f8b0:4864:20:0:0:0:530])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 0677awxZ015734
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Tue, 7 Jul 2020 09:36:59 +0200
Received: by mail-pg1-x530.google.com with SMTP id j19so12742549pgm.11
 for <libssh2-devel@cool.haxx.se>; Tue, 07 Jul 2020 00:37:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=moontechnolabs.com; s=google;
 h=from:content-transfer-encoding:mime-version:subject:message-id:date
 :to; bh=m30AvFwhvLPc4UKVbxbGsW2rnNMKAx7kZUMQDBZ572o=;
 b=rSKXteJpEDtx2AAXOCSKv1NvIvaL+SSDrK8c2Nfh+GH/3T0ATtXbhhuqTif3FTN7on
 QoekbX/pNN5tTlUZwZSX/6OlyevhZHVkT9s1WM3S2Zy4dgjUEcHjPBN3hi5AD2Bi3t8w
 aCE0mqN8sF30JjWpb64Ec7OH2GnTA2TRatglI=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:content-transfer-encoding:mime-version
 :subject:message-id:date:to;
 bh=m30AvFwhvLPc4UKVbxbGsW2rnNMKAx7kZUMQDBZ572o=;
 b=O8GX/kfWIH0zsgFUiuuncdA2wtYgiJ9OxWzPa4M4jyOhZFL6f7cNPOO69CAwzXjlRe
 PY/qf69rPDbdhkBZ0fxvaTw6vXfRlpziO/1C77jGeIJLg9TjIPn8CHVe3X/sllKnO+tT
 riu77IfJkLJQxr6rdoNskm9PvFt85byHH3r91tGC1th8wuI/BNSOX2L++n73GaOEz04U
 lqp8HbIHPLrz6uqZrXNKk+FOv10ZEnIQ1z4VZ1mPOAYTLLvdUxlrX53Bg+CXiy/Mkidx
 liCHEmXQBaw+17oiWvXVexzhCEBuVzK8alBbhTzFa379tKfLPsmxlJVAiQuY0A9js5Hq
 eirw==
X-Gm-Message-State: AOAM5337ZS7L7YoD352/58rKj2Q464Kkk+otBv2R7478uyTLy+NfTuNO
 cZpHLQvsbiktgF1umdEdetIO4Kx5CKaruQ==
X-Google-Smtp-Source: ABdhPJwoad6xAJeDhuVySamRTIKM3OolOsvb6lZdciY6vuJgFUM7lv7CfLIGogNccx1Hnj2yyrFpew==
X-Received: by 2002:a63:f1a:: with SMTP id e26mr44607437pgl.80.1594107413524; 
 Tue, 07 Jul 2020 00:36:53 -0700 (PDT)
Received: from [192.168.1.119] ([122.170.1.34])
 by smtp.gmail.com with ESMTPSA id b14sm20917327pfo.28.2020.07.07.00.36.52
 for <libssh2-devel@cool.haxx.se>
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 07 Jul 2020 00:36:53 -0700 (PDT)
From: Riddhi K <riddhi.k@moontechnolabs.com>
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
Subject: Build libssh2 for Mac Catalyst
Message-Id: <EFD18CDC-59DB-41FD-820C-45E8223162C9@moontechnolabs.com>
Date: Tue, 7 Jul 2020 13:06:50 +0530
To: libssh2-devel@cool.haxx.se
X-Mailer: Apple Mail (2.3608.80.23.2.2)
X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id
 0677awxZ015734
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 0677b2qH015800

Hello Team,

I would like to build libssh2 library for Mac OS. Can you provide the guideline for this?
Looking forward for your reply.

Thank you.
Riddhi Kheni.


_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Tue Jul  7 12:14:34 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 067AE9fZ029776;
	Tue, 7 Jul 2020 12:14:27 +0200
Received: from mail-oo1-xc44.google.com (mail-oo1-xc44.google.com
 [IPv6:2607:f8b0:4864:20:0:0:0:c44])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 067AE3dl029687
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Tue, 7 Jul 2020 12:14:04 +0200
Received: by mail-oo1-xc44.google.com with SMTP id d125so4505531oob.0
 for <libssh2-devel@cool.haxx.se>; Tue, 07 Jul 2020 03:14:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=M/zG9dBRTT0Mtrr2xGQjHeoxzqQwE0IAjaTindUGv0M=;
 b=oh/owtQSGidmGyh32YWvsGzw18/LwKC7YW+YhuA2Wvxuv8NEUtPU0Fb/Pu0b4x0aVR
 35iSv7n3pVsqwqZ9ABzxbHPGluKD9UHMcW9G/MMCBECjxNW+iMjnoSHe7Q8dK0C6Da3N
 1Gw4d3cAj6NiEdN50iAWRcjN1b2DXN2YlG462kECzV1/gDdQUTXefm/Q7GRjZSifaViS
 QZ3HGSNa1zwFS3EmoTUtg134VrbbVGPojcuQtogcseLJMG2Y+14RlcPxR6abDzGz3+88
 MHglEErKfPHdaFw/5NIUZrijiVX4zGniASNLikaBENUGlegaqYhfK++7qxocU3O6ETXm
 kWOw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=M/zG9dBRTT0Mtrr2xGQjHeoxzqQwE0IAjaTindUGv0M=;
 b=bPsfhbkSI9NLWtx+IYqb2dG0n+qc9KOuIlQ5gA6H4CiU19iiqZHPKZMhnUksmGdXcB
 BrLyLa0Qi0YUEXUhB0/gSea9nmGcKuPej6Ele+7Q56GvKPBYtNEhkJRX6rqTYowEnwM4
 He37lkHW27QXtatbO7BKDWq9qn6Q9b3wWiYeG5FX3yfDbOMEamao/XM9Q2XX6cjvlH9Y
 91QneSCo59FXj0qFPJ8erCv1TNJAgk7m/SIM3ZiM/SJ4wJ9HV6O9uHfU2D2Qm2zgRUG3
 RzF5R68SoI1yHgWEWgcmyrzqOqCc1TeH98AkaeqAeDALF/gG9oOgsB8ipgEJsQT1ygja
 hNjw==
X-Gm-Message-State: AOAM533Ov1DZrJqsnMMl5YfO9iZ1hnvAwv9zeVTzFwuWNpoXJI+ituKV
 ciPKSWpZRfogsUBBR43SQPtB8HNxRkDKw22e/3YysxzM
X-Google-Smtp-Source: ABdhPJwL8VV2/wHrCTa8eipDkOQrDg3r9XGmazES4ze/hxPBF0iCNGuo8Li2oluK444bIMtWqM5fKxm2otIaSKfccfE=
X-Received: by 2002:a05:6820:28b:: with SMTP id
 q11mr45968904ood.65.1594116837564; 
 Tue, 07 Jul 2020 03:13:57 -0700 (PDT)
MIME-Version: 1.0
From: Micka <mickamusset@gmail.com>
Date: Tue, 7 Jul 2020 12:13:46 +0200
Message-ID: <CAF+MRtmzRdaOwMKZuFkyZqPqSt0aqwp1NDjR0rmNhB4neVmvCg@mail.gmail.com>
Subject: libssh2 is hanging during a file transfert
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============0293533377=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============0293533377==
Content-Type: multipart/alternative; boundary="000000000000d564f305a9d73fdd"

--000000000000d564f305a9d73fdd
Content-Type: text/plain; charset="UTF-8"

Hi,

I'm trying to send data to a server with openssh 7.9p1, but it's hanging
somewhere.

the client stop at the line :
  Jul  7 11:52:16 TOTO sshd[19553]: debug3: channel 0: will not send data
after close

and after 5 minutes the client closes the connection, why ?

This is the trace of the server openssh : ( DEBUG3 level)

Jul  7 11:52:15 TOTO sshd[31175]: debug3: fd 6 is not O_NONBLOCK
Jul  7 11:52:15 TOTO sshd[31175]: debug1: Forked child 19126.
Jul  7 11:52:15 TOTO sshd[31175]: debug3: send_rexec_state: entering fd = 9
config len 970
Jul  7 11:52:15 TOTO sshd[31175]: debug3: ssh_msg_send: type 0
Jul  7 11:52:15 TOTO sshd[31175]: debug3: send_rexec_state: done
Jul  7 11:52:15 TOTO sshd[19126]: debug3: oom_adjust_restore
Jul  7 11:52:15 TOTO sshd[19126]: debug1: Set /proc/self/oom_score_adj to 0
Jul  7 11:52:15 TOTO sshd[19126]: debug1: rexec start in 6 out 6 newsock 6
pipe 8 sock 9
Jul  7 11:52:15 TOTO sshd[19126]: debug1: inetd sockets after dupping: 5, 5
Jul  7 11:52:15 TOTO sshd[19126]: Connection from 10.91.140.30 port 49822
on 10.91.141.1 port 22
Jul  7 11:52:15 TOTO sshd[19126]: debug1: Client protocol version 2.0;
client software version libssh2_1.9.0_DEV
Jul  7 11:52:15 TOTO sshd[19126]: debug1: no match: libssh2_1.9.0_DEV
Jul  7 11:52:15 TOTO sshd[19126]: debug1: Local version string
SSH-2.0-OpenSSH_7.9
Jul  7 11:52:15 TOTO sshd[19126]: debug2: fd 5 setting O_NONBLOCK
Jul  7 11:52:15 TOTO sshd[19126]: debug3: ssh_sandbox_init: preparing
seccomp filter sandbox
Jul  7 11:52:15 TOTO sshd[19126]: debug2: Network child is on pid 19151
Jul  7 11:52:15 TOTO sshd[19126]: debug3: preauth child monitor started
Jul  7 11:52:15 TOTO sshd[19126]: debug3: privsep user:group 106:65534
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: permanently_set_uid: 106/65534
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: ssh_sandbox_child: setting
PR_SET_NO_NEW_PRIVS [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: ssh_sandbox_child: attaching
seccomp filter program [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: list_hostkey_types:
rsa-sha2-512,rsa-sha2-256,ssh-rsa [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 20 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_KEXINIT sent [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 20 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_KEXINIT received
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: local server KEXINIT proposal
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: KEX algorithms:
diffie-hellman-group-exchange-sha256 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: host key algorithms:
rsa-sha2-512,rsa-sha2-256,ssh-rsa [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: ciphers ctos:
aes256-ctr,aes192-ctr,aes128-ctr [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: ciphers stoc:
aes256-ctr,aes192-ctr,aes128-ctr [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: MACs ctos:
hmac-sha2-512,hmac-sha2-256 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: MACs stoc:
hmac-sha2-512,hmac-sha2-256 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: compression ctos: none [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: compression stoc: none [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: languages ctos:  [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: languages stoc:  [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: first_kex_follows 0  [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: reserved 0  [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: peer client KEXINIT proposal
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: KEX algorithms:
ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,curve25519-sha256,
curve25519-sha256@libssh.org,diffie-hellman-group14-sha256,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: host key algorithms: ssh-rsa
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: ciphers ctos:
aes128-ctr,aes192-ctr,aes256-ctr,aes256-cbc,rijndael-cbc@lysator.liu.se,aes192-cbc,aes128-cbc,blowfish-cbc,arcfour128,arcfour,cast128-cbc,3des-cbc
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: ciphers stoc:
aes128-ctr,aes192-ctr,aes256-ctr,aes256-cbc,rijndael-cbc@lysator.liu.se,aes192-cbc,aes128-cbc,blowfish-cbc,arcfour128,arcfour,cast128-cbc,3des-cbc
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: MACs ctos:
hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,
hmac-ripemd160@openssh.com [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: MACs stoc:
hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,
hmac-ripemd160@openssh.com [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: compression ctos: none [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: compression stoc: none [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: languages ctos:  [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: languages stoc:  [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: first_kex_follows 0  [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: reserved 0  [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: kex: algorithm:
diffie-hellman-group-exchange-sha256 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: kex: host key algorithm: ssh-rsa
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: kex: client->server cipher:
aes128-ctr MAC: hmac-sha2-256 compression: none [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: kex: server->client cipher:
aes128-ctr MAC: hmac-sha2-256 compression: none [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: expecting
SSH2_MSG_KEX_DH_GEX_REQUEST [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 34 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_KEX_DH_GEX_REQUEST
received [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 0
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_choose_dh: waiting for
MONITOR_ANS_MODULI [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive_expect
entering: type 1 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
Jul  7 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 0
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_moduli: got parameters:
2048 4096 8192
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 1
Jul  7 11:52:15 TOTO sshd[19126]: debug2: monitor_read: 0 used once,
disabling now
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_choose_dh: remaining 0
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 31 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: bits set: 1978/4096 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: expecting
SSH2_MSG_KEX_DH_GEX_INIT [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 32 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: bits set: 2017/4096 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_sshkey_sign entering [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 6
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
Jul  7 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 6
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_sign
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_sign: hostkey proof
signature 0x80311540(271)
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 7
Jul  7 11:52:15 TOTO sshd[19126]: debug2: monitor_read: 6 used once,
disabling now
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_sshkey_sign: waiting for
MONITOR_ANS_SIGN [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive_expect
entering: type 7 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 33 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 21 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: set_newkeys: mode 1 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: rekey after 4294967296 blocks
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_NEWKEYS sent [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: expecting SSH2_MSG_NEWKEYS
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 21 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_NEWKEYS received
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: set_newkeys: mode 0 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: rekey after 4294967296 blocks
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: KEX done [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 5 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 6 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 50 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: userauth-request for user toto
service ssh-connection method none [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: attempt 0 failures 0 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_getpwnamallow entering
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 8
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_getpwnamallow: waiting for
MONITOR_ANS_PWNAM [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive_expect
entering: type 9 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
Jul  7 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 8
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_pwnamallow
Jul  7 11:52:15 TOTO sshd[19126]: debug2: parse_server_config: config
reprocess config len 970
Jul  7 11:52:15 TOTO sshd[19126]: debug3: auth_shadow_acctexpired: today
18450 sp_expire -1 days left -18451
Jul  7 11:52:15 TOTO sshd[19126]: debug3: account expiration disabled
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_pwnamallow: sending
MONITOR_ANS_PWNAM: 1
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 9
Jul  7 11:52:15 TOTO sshd[19126]: debug2: monitor_read: 8 used once,
disabling now
Jul  7 11:52:15 TOTO sshd[19126]: debug2: input_userauth_request: setting
up authctxt for toto [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_inform_authserv entering
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 4
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_auth2_read_banner entering
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 10
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive_expect
entering: type 11 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
Jul  7 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 4
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_authserv:
service=ssh-connection, style=
Jul  7 11:52:15 TOTO sshd[19126]: debug2: monitor_read: 4 used once,
disabling now
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
Jul  7 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 10
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 11
Jul  7 11:52:15 TOTO sshd[19126]: debug2: monitor_read: 10 used once,
disabling now
Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 53 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: userauth_send_banner: sent
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: input_userauth_request: try
method none [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: user_specific_delay: user
specific delay 0.000ms [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: ensure_minimum_time_since:
elapsed 73.257ms, delaying 64.508ms (requested 8.610ms) [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: userauth_finish: failure
partial=0 next methods="publickey" [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 51 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 50 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: userauth-request for user toto
service ssh-connection method publickey [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: attempt 1 failures 0 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug2: input_userauth_request: try
method publickey [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug1: userauth_pubkey: test pkalg
ssh-rsa pkblob RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_key_allowed entering [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 22
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_key_allowed: waiting for
MONITOR_ANS_KEYALLOWED [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive_expect
entering: type 23 [preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
[preauth]
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
Jul  7 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 22
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_keyallowed entering
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_keyallowed:
key_from_blob: 0x80306160
Jul  7 11:52:15 TOTO sshd[19126]: debug1: temporarily_use_uid: 1001/1001
(e=0/0)
Jul  7 11:52:15 TOTO sshd[19126]: debug1: trying public key file
/home/test.pub
Jul  7 11:52:15 TOTO sshd[19126]: debug1: fd 4 clearing O_NONBLOCK
Jul  7 11:52:15 TOTO sshd[19126]: debug1: /home/test.pub:1: matching key
found: RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4
Jul  7 11:52:15 TOTO sshd[19126]: debug1: /home/test.pub:1: key options:
agent-forwarding port-forwarding pty user-rc x11-forwarding
Jul  7 11:52:15 TOTO sshd[19126]: Accepted key RSA
SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4 found at /home/test.pub:1
Jul  7 11:52:15 TOTO sshd[19126]: debug1: restore_uid: 0/0
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_keyallowed: publickey
authentication test: RSA key is allowed
Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 23
Jul  7 11:52:16 TOTO sshd[19126]: debug3: send packet: type 60 [preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug2: userauth_pubkey: authenticated 0
pkalg ssh-rsa [preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug3: user_specific_delay: user
specific delay 0.000ms [preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug3: ensure_minimum_time_since:
elapsed 10.037ms, delaying 7.184ms (requested 8.610ms) [preauth]
Jul  7 11:52:16 TOTO sshd[19126]: Postponed publickey for toto from
10.91.140.30 port 49822 ssh2 [preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug3: receive packet: type 50 [preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug1: userauth-request for user toto
service ssh-connection method publickey [preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug1: attempt 2 failures 0 [preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug2: input_userauth_request: try
method publickey [preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug3: userauth_pubkey: have ssh-rsa
signature for RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4
[preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_key_allowed entering [preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_send entering: type 22
[preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_key_allowed: waiting for
MONITOR_ANS_KEYALLOWED [preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive_expect
entering: type 23 [preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive entering
[preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive entering
Jul  7 11:52:16 TOTO sshd[19126]: debug3: monitor_read: checking request 22
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_answer_keyallowed entering
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_answer_keyallowed:
key_from_blob: 0x80309fd0
Jul  7 11:52:16 TOTO sshd[19126]: debug1: temporarily_use_uid: 1001/1001
(e=0/0)
Jul  7 11:52:16 TOTO sshd[19126]: debug1: trying public key file
/home/test.pub
Jul  7 11:52:16 TOTO sshd[19126]: debug1: fd 4 clearing O_NONBLOCK
Jul  7 11:52:16 TOTO sshd[19126]: debug1: /home/test.pub:1: matching key
found: RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4
Jul  7 11:52:16 TOTO sshd[19126]: debug1: /home/test.pub:1: key options:
agent-forwarding port-forwarding pty user-rc x11-forwarding
Jul  7 11:52:16 TOTO sshd[19126]: Accepted key RSA
SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4 found at /home/test.pub:1
Jul  7 11:52:16 TOTO sshd[19126]: debug1: restore_uid: 0/0
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_answer_keyallowed: publickey
authentication: RSA key is allowed
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_send entering: type 23
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_sshkey_verify entering
[preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_send entering: type 24
[preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_sshkey_verify: waiting for
MONITOR_ANS_KEYVERIFY [preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive_expect
entering: type 25 [preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive entering
[preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive entering
Jul  7 11:52:16 TOTO sshd[19126]: debug3: monitor_read: checking request 24
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_answer_keyverify: publickey
0x80309fd0 signature verified
Jul  7 11:52:16 TOTO sshd[19126]: debug1: auth_activate_options: setting
new authentication options
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_send entering: type 25
Jul  7 11:52:16 TOTO sshd[19126]: Accepted publickey for toto from
10.91.140.30 port 49822 ssh2: RSA
SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4
Jul  7 11:52:16 TOTO sshd[19126]: debug1: monitor_child_preauth: toto has
been authenticated by privileged process
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_get_keystate: Waiting for new
keys
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive_expect
entering: type 26
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive entering
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_get_keystate: GOT new keys
Jul  7 11:52:16 TOTO sshd[19126]: debug1: auth_activate_options: setting
new authentication options [preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug2: userauth_pubkey: authenticated 1
pkalg ssh-rsa [preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug3: user_specific_delay: user
specific delay 0.000ms [preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug3: ensure_minimum_time_since:
elapsed 12.239ms, delaying 4.982ms (requested 8.610ms) [preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug3: send packet: type 52 [preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_send entering: type 26
[preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_send_keystate: Finished
sending state [preauth]
Jul  7 11:52:16 TOTO sshd[19126]: debug1: monitor_read_log: child log fd
closed
Jul  7 11:52:16 TOTO sshd[19126]: debug3: ssh_sandbox_parent_finish:
finished
Jul  7 11:52:16 TOTO sshd[19126]: User child is on pid 19553
Jul  7 11:52:16 TOTO sshd[19553]: debug1: permanently_set_uid: 1001/1001
Jul  7 11:52:16 TOTO sshd[19553]: debug3: monitor_apply_keystate:
packet_set_state
Jul  7 11:52:16 TOTO sshd[19553]: debug2: set_newkeys: mode 0
Jul  7 11:52:16 TOTO sshd[19553]: debug1: rekey after 4294967296 blocks
Jul  7 11:52:16 TOTO sshd[19553]: debug2: set_newkeys: mode 1
Jul  7 11:52:16 TOTO sshd[19553]: debug1: rekey after 4294967296 blocks
Jul  7 11:52:16 TOTO sshd[19553]: debug1: ssh_packet_set_postauth: called
Jul  7 11:52:16 TOTO sshd[19553]: debug3: ssh_packet_set_state: done
Jul  7 11:52:16 TOTO sshd[19553]: debug3: notify_hostkeys: key 0: ssh-rsa
SHA256:vYlhpVfmXfMCmgD8vuI3qK7ppf3aRj8qhg3hj8OtJCI
Jul  7 11:52:16 TOTO sshd[19553]: debug3: notify_hostkeys: sent 1 hostkeys
Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 80
Jul  7 11:52:16 TOTO sshd[19553]: debug1: active: key options:
agent-forwarding port-forwarding pty user-rc x11-forwarding
Jul  7 11:52:16 TOTO sshd[19553]: debug3: sending debug message:
/home/test.pub:1: key options: agent-forwarding port-forwarding pty user-rc
x11-forwarding
Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 4
Jul  7 11:52:16 TOTO sshd[19553]: debug3: sending debug message:
/home/test.pub:1: key options: agent-forwarding port-forwarding pty user-rc
x11-forwarding
Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 4
Jul  7 11:52:16 TOTO sshd[19553]: debug1: Entering interactive session for
SSH2.
Jul  7 11:52:16 TOTO sshd[19553]: debug2: fd 7 setting O_NONBLOCK
Jul  7 11:52:16 TOTO sshd[19553]: debug2: fd 9 setting O_NONBLOCK
Jul  7 11:52:16 TOTO sshd[19553]: debug1: server_init_dispatch
Jul  7 11:52:16 TOTO sshd[19553]: debug3: receive packet: type 90
Jul  7 11:52:16 TOTO sshd[19553]: debug1: server_input_channel_open: ctype
session rchan 0 win 2097152 max 32768
Jul  7 11:52:16 TOTO sshd[19553]: debug1: input_session_request
Jul  7 11:52:16 TOTO sshd[19553]: debug1: channel 0: new [server-session]
Jul  7 11:52:16 TOTO sshd[19553]: debug2: session_new: allocate (allocated
0 max 10)
Jul  7 11:52:16 TOTO sshd[19553]: debug3: session_unused: session id 0
unused
Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_new: session 0
Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_open: channel 0
Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_open: session 0: link
with channel 0
Jul  7 11:52:16 TOTO sshd[19553]: debug1: server_input_channel_open:
confirm session
Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 91
Jul  7 11:52:16 TOTO sshd[19553]: debug3: receive packet: type 98
Jul  7 11:52:16 TOTO sshd[19553]: debug1: server_input_channel_req: channel
0 request subsystem reply 1
Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_by_channel: session 0
channel 0
Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_input_channel_req:
session 0 req subsystem
Jul  7 11:52:16 TOTO sshd[19553]: debug2: subsystem request for sftp by
user toto
Jul  7 11:52:16 TOTO sshd[19553]: debug1: subsystem: exec()
/usr/lib/openssh/sftp-server -l DEBUG3
Jul  7 11:52:16 TOTO sshd[19553]: Starting session: subsystem 'sftp' for
toto from 10.91.140.30 port 49822 id 0
Jul  7 11:52:16 TOTO sshd[19553]: debug2: fd 5 setting TCP_NODELAY
Jul  7 11:52:16 TOTO sshd[19553]: debug3: ssh_packet_set_tos: set IP_TOS
0x20
Jul  7 11:52:16 TOTO sshd[19553]: debug2: fd 12 setting O_NONBLOCK
Jul  7 11:52:16 TOTO sshd[19553]: debug2: fd 11 setting O_NONBLOCK
Jul  7 11:52:16 TOTO sshd[19553]: debug2: fd 14 setting O_NONBLOCK
Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 99
Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: read 43 from efd 14
Jul  7 11:52:16 TOTO sshd[19553]: debug3: channel 0: discard efd
Jul  7 11:52:16 TOTO sshd[19553]: debug1: Received SIGCHLD.
Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_by_pid: pid 19576
Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_exit_message: session 0
channel 0 pid 19576
Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: request exit-status
confirm 0
Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 98
Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_exit_message: release
channel 0
Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: write failed
Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: chan_shutdown_write
(i0 o0 sock -1 wfd 11 efd 14 [ignore])
Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: send eow
Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: output open -> closed
Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: read<=0 rfd 12 len 0
Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: read failed
Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: chan_shutdown_read (i0
o3 sock -1 wfd 12 efd 14 [ignore])
Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: input open -> drain
Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: read 0 from efd 14
Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: closing read-efd 14
Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: ibuf empty
Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: send eof
Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 96
Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: input drain -> closed
Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: send close
Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 97
Jul  7 11:52:16 TOTO sshd[19553]: debug2: notify_done: reading
Jul  7 11:52:16 TOTO sshd[19553]: debug3: channel 0: will not send data
after close
Jul  7 11:57:15 TOTO sshd[19553]: debug3: receive packet: type 1
Jul  7 11:57:15 TOTO sshd[19553]: Received disconnect from 10.91.140.30
port 49822:11: Shutdown
Jul  7 11:57:15 TOTO sshd[19553]: Disconnected from user toto 10.91.140.30
port 49822
Jul  7 11:57:15 TOTO sshd[19553]: debug1: do_cleanup
Jul  7 11:57:15 TOTO sshd[19126]: debug3: mm_request_receive entering
Jul  7 11:57:15 TOTO sshd[19126]: debug1: do_cleanup

--000000000000d564f305a9d73fdd
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>I&#39;m trying to send data to a se=
rver with openssh 7.9p1, but it&#39;s hanging somewhere.</div><div><br></di=
v><div>the client stop at the line :</div><div>=C2=A0 Jul =C2=A07 11:52:16 =
TOTO sshd[19553]: debug3: channel 0: will not send data after close=C2=A0</=
div><div><br></div><div>and after 5 minutes the client closes the connectio=
n, why ?=C2=A0<br></div><div><br></div><div>This is the trace of the server=
 openssh : ( DEBUG3 level)</div><div><br></div><div>Jul =C2=A07 11:52:15 TO=
TO sshd[31175]: debug3: fd 6 is not O_NONBLOCK<br>Jul =C2=A07 11:52:15 TOTO=
 sshd[31175]: debug1: Forked child 19126.<br>Jul =C2=A07 11:52:15 TOTO sshd=
[31175]: debug3: send_rexec_state: entering fd =3D 9 config len 970<br>Jul =
=C2=A07 11:52:15 TOTO sshd[31175]: debug3: ssh_msg_send: type 0<br>Jul =C2=
=A07 11:52:15 TOTO sshd[31175]: debug3: send_rexec_state: done<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug3: oom_adjust_restore<br>Jul =C2=A07 1=
1:52:15 TOTO sshd[19126]: debug1: Set /proc/self/oom_score_adj to 0<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug1: rexec start in 6 out 6 newsock 6=
 pipe 8 sock 9<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: inetd sock=
ets after dupping: 5, 5<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: Connectio=
n from 10.91.140.30 port 49822 on 10.91.141.1 port 22<br>Jul =C2=A07 11:52:=
15 TOTO sshd[19126]: debug1: Client protocol version 2.0; client software v=
ersion libssh2_1.9.0_DEV<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: =
no match: libssh2_1.9.0_DEV<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug=
1: Local version string SSH-2.0-OpenSSH_7.9<br>Jul =C2=A07 11:52:15 TOTO ss=
hd[19126]: debug2: fd 5 setting O_NONBLOCK<br>Jul =C2=A07 11:52:15 TOTO ssh=
d[19126]: debug3: ssh_sandbox_init: preparing seccomp filter sandbox<br>Jul=
 =C2=A07 11:52:15 TOTO sshd[19126]: debug2: Network child is on pid 19151<b=
r>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: preauth child monitor star=
ted<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: privsep user:group 10=
6:65534 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: permane=
ntly_set_uid: 106/65534 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]:=
 debug3: ssh_sandbox_child: setting PR_SET_NO_NEW_PRIVS [preauth]<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug3: ssh_sandbox_child: attaching sec=
comp filter program [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: deb=
ug1: list_hostkey_types: rsa-sha2-512,rsa-sha2-256,ssh-rsa [preauth]<br>Jul=
 =C2=A07 11:52:15 TOTO sshd[19126]: debug3: send packet: type 20 [preauth]<=
br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_KEXINIT sent [pr=
eauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: receive packet: ty=
pe 20 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_=
KEXINIT received [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2=
: local server KEXINIT proposal [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd=
[19126]: debug2: KEX algorithms: diffie-hellman-group-exchange-sha256 [prea=
uth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: host key algorithms:=
 rsa-sha2-512,rsa-sha2-256,ssh-rsa [preauth]<br>Jul =C2=A07 11:52:15 TOTO s=
shd[19126]: debug2: ciphers ctos: aes256-ctr,aes192-ctr,aes128-ctr [preauth=
]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: ciphers stoc: aes256-ct=
r,aes192-ctr,aes128-ctr [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]:=
 debug2: MACs ctos: hmac-sha2-512,hmac-sha2-256 [preauth]<br>Jul =C2=A07 11=
:52:15 TOTO sshd[19126]: debug2: MACs stoc: hmac-sha2-512,hmac-sha2-256 [pr=
eauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: compression ctos: =
none [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: compressio=
n stoc: none [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: la=
nguages ctos: =C2=A0[preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: deb=
ug2: languages stoc: =C2=A0[preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[1912=
6]: debug2: first_kex_follows 0 =C2=A0[preauth]<br>Jul =C2=A07 11:52:15 TOT=
O sshd[19126]: debug2: reserved 0 =C2=A0[preauth]<br>Jul =C2=A07 11:52:15 T=
OTO sshd[19126]: debug2: peer client KEXINIT proposal [preauth]<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug2: KEX algorithms: ecdh-sha2-nistp256,=
ecdh-sha2-nistp384,ecdh-sha2-nistp521,curve25519-sha256,<a href=3D"mailto:c=
urve25519-sha256@libssh.org">curve25519-sha256@libssh.org</a>,diffie-hellma=
n-group14-sha256,diffie-hellman-group-exchange-sha256,diffie-hellman-group-=
exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 [preau=
th]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: host key algorithms: =
ssh-rsa [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: ciphers=
 ctos: aes128-ctr,aes192-ctr,aes256-ctr,aes256-cbc,<a href=3D"mailto:rijnda=
el-cbc@lysator.liu.se">rijndael-cbc@lysator.liu.se</a>,aes192-cbc,aes128-cb=
c,blowfish-cbc,arcfour128,arcfour,cast128-cbc,3des-cbc [preauth]<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug2: ciphers stoc: aes128-ctr,aes192-ctr=
,aes256-ctr,aes256-cbc,<a href=3D"mailto:rijndael-cbc@lysator.liu.se">rijnd=
ael-cbc@lysator.liu.se</a>,aes192-cbc,aes128-cbc,blowfish-cbc,arcfour128,ar=
cfour,cast128-cbc,3des-cbc [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[1912=
6]: debug2: MACs ctos: hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96,h=
mac-md5,hmac-md5-96,hmac-ripemd160,<a href=3D"mailto:hmac-ripemd160@openssh=
.com">hmac-ripemd160@openssh.com</a> [preauth]<br>Jul =C2=A07 11:52:15 TOTO=
 sshd[19126]: debug2: MACs stoc: hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac=
-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,<a href=3D"mailto:hmac-ripemd1=
60@openssh.com">hmac-ripemd160@openssh.com</a> [preauth]<br>Jul =C2=A07 11:=
52:15 TOTO sshd[19126]: debug2: compression ctos: none [preauth]<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug2: compression stoc: none [preauth]<br=
>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: languages ctos: =C2=A0[prea=
uth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: languages stoc: =C2=
=A0[preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: first_kex_fo=
llows 0 =C2=A0[preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: r=
eserved 0 =C2=A0[preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1:=
 kex: algorithm: diffie-hellman-group-exchange-sha256 [preauth]<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug1: kex: host key algorithm: ssh-rsa [p=
reauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: kex: client-&gt;s=
erver cipher: aes128-ctr MAC: hmac-sha2-256 compression: none [preauth]<br>=
Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: kex: server-&gt;client ciphe=
r: aes128-ctr MAC: hmac-sha2-256 compression: none [preauth]<br>Jul =C2=A07=
 11:52:15 TOTO sshd[19126]: debug1: expecting SSH2_MSG_KEX_DH_GEX_REQUEST [=
preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: receive packet: =
type 34 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: SSH2_MS=
G_KEX_DH_GEX_REQUEST received [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[1=
9126]: debug3: mm_request_send entering: type 0 [preauth]<br>Jul =C2=A07 11=
:52:15 TOTO sshd[19126]: debug3: mm_choose_dh: waiting for MONITOR_ANS_MODU=
LI [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_r=
eceive_expect entering: type 1 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[=
19126]: debug3: mm_request_receive entering [preauth]<br>Jul =C2=A07 11:52:=
15 TOTO sshd[19126]: debug3: mm_request_receive entering<br>Jul =C2=A07 11:=
52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 0<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug3: mm_answer_moduli: got parameters: 2=
048 4096 8192<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_=
send entering: type 1<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: mon=
itor_read: 0 used once, disabling now<br>Jul =C2=A07 11:52:15 TOTO sshd[191=
26]: debug3: mm_choose_dh: remaining 0 [preauth]<br>Jul =C2=A07 11:52:15 TO=
TO sshd[19126]: debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent [preauth]<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug3: send packet: type 31 [preauth]<br>J=
ul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: bits set: 1978/4096 [preauth]=
<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: expecting SSH2_MSG_KEX_D=
H_GEX_INIT [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: rece=
ive packet: type 32 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: deb=
ug2: bits set: 2017/4096 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]=
: debug3: mm_sshkey_sign entering [preauth]<br>Jul =C2=A07 11:52:15 TOTO ss=
hd[19126]: debug3: mm_request_send entering: type 6 [preauth]<br>Jul =C2=A0=
7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 6<br=
>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_answer_sign<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug3: mm_answer_sign: hostkey proof signa=
ture 0x80311540(271)<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_r=
equest_send entering: type 7<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debu=
g2: monitor_read: 6 used once, disabling now<br>Jul =C2=A07 11:52:15 TOTO s=
shd[19126]: debug3: mm_sshkey_sign: waiting for MONITOR_ANS_SIGN [preauth]<=
br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive_expect=
 entering: type 7 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug=
3: mm_request_receive entering [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[=
19126]: debug3: send packet: type 33 [preauth]<br>Jul =C2=A07 11:52:15 TOTO=
 sshd[19126]: debug3: send packet: type 21 [preauth]<br>Jul =C2=A07 11:52:1=
5 TOTO sshd[19126]: debug2: set_newkeys: mode 1 [preauth]<br>Jul =C2=A07 11=
:52:15 TOTO sshd[19126]: debug1: rekey after 4294967296 blocks [preauth]<br=
>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_NEWKEYS sent [prea=
uth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: expecting SSH2_MSG_N=
EWKEYS [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: receive =
packet: type 21 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1:=
 SSH2_MSG_NEWKEYS received [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[1912=
6]: debug2: set_newkeys: mode 0 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd=
[19126]: debug1: rekey after 4294967296 blocks [preauth]<br>Jul =C2=A07 11:=
52:15 TOTO sshd[19126]: debug1: KEX done [preauth]<br>Jul =C2=A07 11:52:15 =
TOTO sshd[19126]: debug3: receive packet: type 5 [preauth]<br>Jul =C2=A07 1=
1:52:15 TOTO sshd[19126]: debug3: send packet: type 6 [preauth]<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 50 [preauth]<b=
r>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: userauth-request for user =
toto service ssh-connection method none [preauth]<br>Jul =C2=A07 11:52:15 T=
OTO sshd[19126]: debug1: attempt 0 failures 0 [preauth]<br>Jul =C2=A07 11:5=
2:15 TOTO sshd[19126]: debug3: mm_getpwnamallow entering [preauth]<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 8=
 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_getpwnamall=
ow: waiting for MONITOR_ANS_PWNAM [preauth]<br>Jul =C2=A07 11:52:15 TOTO ss=
hd[19126]: debug3: mm_request_receive_expect entering: type 9 [preauth]<br>=
Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering =
[preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_rece=
ive entering<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: monitor_read=
: checking request 8<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_a=
nswer_pwnamallow<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: parse_se=
rver_config: config reprocess config len 970<br>Jul =C2=A07 11:52:15 TOTO s=
shd[19126]: debug3: auth_shadow_acctexpired: today 18450 sp_expire -1 days =
left -18451<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: account expir=
ation disabled<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_answer_=
pwnamallow: sending MONITOR_ANS_PWNAM: 1<br>Jul =C2=A07 11:52:15 TOTO sshd[=
19126]: debug3: mm_request_send entering: type 9<br>Jul =C2=A07 11:52:15 TO=
TO sshd[19126]: debug2: monitor_read: 8 used once, disabling now<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug2: input_userauth_request: setting up =
authctxt for toto [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug=
3: mm_inform_authserv entering [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[=
19126]: debug3: mm_request_send entering: type 4 [preauth]<br>Jul =C2=A07 1=
1:52:15 TOTO sshd[19126]: debug3: mm_auth2_read_banner entering [preauth]<b=
r>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: =
type 10 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_requ=
est_receive_expect entering: type 11 [preauth]<br>Jul =C2=A07 11:52:15 TOTO=
 sshd[19126]: debug3: mm_request_receive entering [preauth]<br>Jul =C2=A07 =
11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 4<br=
>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_answer_authserv: service=
=3Dssh-connection, style=3D<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug=
2: monitor_read: 4 used once, disabling now<br>Jul =C2=A07 11:52:15 TOTO ss=
hd[19126]: debug3: mm_request_receive entering<br>Jul =C2=A07 11:52:15 TOTO=
 sshd[19126]: debug3: monitor_read: checking request 10<br>Jul =C2=A07 11:5=
2:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 11<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug2: monitor_read: 10 used once, disabli=
ng now<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: send packet: type =
53 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: userauth_sen=
d_banner: sent [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: =
input_userauth_request: try method none [preauth]<br>Jul =C2=A07 11:52:15 T=
OTO sshd[19126]: debug3: user_specific_delay: user specific delay 0.000ms [=
preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: ensure_minimum_t=
ime_since: elapsed 73.257ms, delaying 64.508ms (requested 8.610ms) [preauth=
]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: userauth_finish: failur=
e partial=3D0 next methods=3D&quot;publickey&quot; [preauth]<br>Jul =C2=A07=
 11:52:15 TOTO sshd[19126]: debug3: send packet: type 51 [preauth]<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 50 [preauth=
]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: userauth-request for us=
er toto service ssh-connection method publickey [preauth]<br>Jul =C2=A07 11=
:52:15 TOTO sshd[19126]: debug1: attempt 1 failures 0 [preauth]<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug2: input_userauth_request: try method =
publickey [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: usera=
uth_pubkey: test pkalg ssh-rsa pkblob RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQ=
v8mCouzqfNolAgbp4 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug=
3: mm_key_allowed entering [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[1912=
6]: debug3: mm_request_send entering: type 22 [preauth]<br>Jul =C2=A07 11:5=
2:15 TOTO sshd[19126]: debug3: mm_key_allowed: waiting for MONITOR_ANS_KEYA=
LLOWED [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_reque=
st_receive_expect entering: type 23 [preauth]<br>Jul =C2=A07 11:52:15 TOTO =
sshd[19126]: debug3: mm_request_receive entering [preauth]<br>Jul =C2=A07 1=
1:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering<br>Jul =C2=A0=
7 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 22<br>J=
ul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_answer_keyallowed entering=
<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_answer_keyallowed: ke=
y_from_blob: 0x80306160<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: t=
emporarily_use_uid: 1001/1001 (e=3D0/0)<br>Jul =C2=A07 11:52:15 TOTO sshd[1=
9126]: debug1: trying public key file /home/test.pub<br>Jul =C2=A07 11:52:1=
5 TOTO sshd[19126]: debug1: fd 4 clearing O_NONBLOCK<br>Jul =C2=A07 11:52:1=
5 TOTO sshd[19126]: debug1: /home/test.pub:1: matching key found: RSA SHA25=
6:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4<br>Jul =C2=A07 11:52:15 TOTO =
sshd[19126]: debug1: /home/test.pub:1: key options: agent-forwarding port-f=
orwarding pty user-rc x11-forwarding<br>Jul =C2=A07 11:52:15 TOTO sshd[1912=
6]: Accepted key RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4 fou=
nd at /home/test.pub:1<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: re=
store_uid: 0/0<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_answer_=
keyallowed: publickey authentication test: RSA key is allowed<br>Jul =C2=A0=
7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 23<br>J=
ul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: send packet: type 60 [preauth=
]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug2: userauth_pubkey: authen=
ticated 0 pkalg ssh-rsa [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]:=
 debug3: user_specific_delay: user specific delay 0.000ms [preauth]<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19126]: debug3: ensure_minimum_time_since: elaps=
ed 10.037ms, delaying 7.184ms (requested 8.610ms) [preauth]<br>Jul =C2=A07 =
11:52:16 TOTO sshd[19126]: Postponed publickey for toto from 10.91.140.30 p=
ort 49822 ssh2 [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: =
receive packet: type 50 [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]:=
 debug1: userauth-request for user toto service ssh-connection method publi=
ckey [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug1: attempt 2 =
failures 0 [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug2: inpu=
t_userauth_request: try method publickey [preauth]<br>Jul =C2=A07 11:52:16 =
TOTO sshd[19126]: debug3: userauth_pubkey: have ssh-rsa signature for RSA S=
HA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4 [preauth]<br>Jul =C2=A07 =
11:52:16 TOTO sshd[19126]: debug3: mm_key_allowed entering [preauth]<br>Jul=
 =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_request_send entering: type =
22 [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_key_allow=
ed: waiting for MONITOR_ANS_KEYALLOWED [preauth]<br>Jul =C2=A07 11:52:16 TO=
TO sshd[19126]: debug3: mm_request_receive_expect entering: type 23 [preaut=
h]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive ent=
ering [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_reques=
t_receive entering<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: monito=
r_read: checking request 22<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug=
3: mm_answer_keyallowed entering<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: =
debug3: mm_answer_keyallowed: key_from_blob: 0x80309fd0<br>Jul =C2=A07 11:5=
2:16 TOTO sshd[19126]: debug1: temporarily_use_uid: 1001/1001 (e=3D0/0)<br>=
Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug1: trying public key file /home=
/test.pub<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug1: fd 4 clearing O=
_NONBLOCK<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug1: /home/test.pub:=
1: matching key found: RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgb=
p4<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug1: /home/test.pub:1: key =
options: agent-forwarding port-forwarding pty user-rc x11-forwarding<br>Jul=
 =C2=A07 11:52:16 TOTO sshd[19126]: Accepted key RSA SHA256:fVQ7eL1KeCgpq4/=
BSsnou/pVnQv8mCouzqfNolAgbp4 found at /home/test.pub:1<br>Jul =C2=A07 11:52=
:16 TOTO sshd[19126]: debug1: restore_uid: 0/0<br>Jul =C2=A07 11:52:16 TOTO=
 sshd[19126]: debug3: mm_answer_keyallowed: publickey authentication: RSA k=
ey is allowed<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_request_=
send entering: type 23<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm=
_sshkey_verify entering [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]:=
 debug3: mm_request_send entering: type 24 [preauth]<br>Jul =C2=A07 11:52:1=
6 TOTO sshd[19126]: debug3: mm_sshkey_verify: waiting for MONITOR_ANS_KEYVE=
RIFY [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_request=
_receive_expect entering: type 25 [preauth]<br>Jul =C2=A07 11:52:16 TOTO ss=
hd[19126]: debug3: mm_request_receive entering [preauth]<br>Jul =C2=A07 11:=
52:16 TOTO sshd[19126]: debug3: mm_request_receive entering<br>Jul =C2=A07 =
11:52:16 TOTO sshd[19126]: debug3: monitor_read: checking request 24<br>Jul=
 =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_answer_keyverify: publickey =
0x80309fd0 signature verified<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: deb=
ug1: auth_activate_options: setting new authentication options<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19126]: debug3: mm_request_send entering: type 25<b=
r>Jul =C2=A07 11:52:16 TOTO sshd[19126]: Accepted publickey for toto from 1=
0.91.140.30 port 49822 ssh2: RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqf=
NolAgbp4<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug1: monitor_child_pr=
eauth: toto has been authenticated by privileged process<br>Jul =C2=A07 11:=
52:16 TOTO sshd[19126]: debug3: mm_get_keystate: Waiting for new keys<br>Ju=
l =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive_expect ente=
ring: type 26<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_request_=
receive entering<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_get_k=
eystate: GOT new keys<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug1: aut=
h_activate_options: setting new authentication options [preauth]<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19126]: debug2: userauth_pubkey: authenticated 1 pk=
alg ssh-rsa [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: use=
r_specific_delay: user specific delay 0.000ms [preauth]<br>Jul =C2=A07 11:5=
2:16 TOTO sshd[19126]: debug3: ensure_minimum_time_since: elapsed 12.239ms,=
 delaying 4.982ms (requested 8.610ms) [preauth]<br>Jul =C2=A07 11:52:16 TOT=
O sshd[19126]: debug3: send packet: type 52 [preauth]<br>Jul =C2=A07 11:52:=
16 TOTO sshd[19126]: debug3: mm_request_send entering: type 26 [preauth]<br=
>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_send_keystate: Finished =
sending state [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug1: m=
onitor_read_log: child log fd closed<br>Jul =C2=A07 11:52:16 TOTO sshd[1912=
6]: debug3: ssh_sandbox_parent_finish: finished<br>Jul =C2=A07 11:52:16 TOT=
O sshd[19126]: User child is on pid 19553<br>Jul =C2=A07 11:52:16 TOTO sshd=
[19553]: debug1: permanently_set_uid: 1001/1001<br>Jul =C2=A07 11:52:16 TOT=
O sshd[19553]: debug3: monitor_apply_keystate: packet_set_state<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19553]: debug2: set_newkeys: mode 0<br>Jul =C2=A07 =
11:52:16 TOTO sshd[19553]: debug1: rekey after 4294967296 blocks<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19553]: debug2: set_newkeys: mode 1<br>Jul =C2=A07 =
11:52:16 TOTO sshd[19553]: debug1: rekey after 4294967296 blocks<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19553]: debug1: ssh_packet_set_postauth: called<br>=
Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug3: ssh_packet_set_state: done<b=
r>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug3: notify_hostkeys: key 0: ss=
h-rsa SHA256:vYlhpVfmXfMCmgD8vuI3qK7ppf3aRj8qhg3hj8OtJCI<br>Jul =C2=A07 11:=
52:16 TOTO sshd[19553]: debug3: notify_hostkeys: sent 1 hostkeys<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19553]: debug3: send packet: type 80<br>Jul =C2=A07=
 11:52:16 TOTO sshd[19553]: debug1: active: key options: agent-forwarding p=
ort-forwarding pty user-rc x11-forwarding<br>Jul =C2=A07 11:52:16 TOTO sshd=
[19553]: debug3: sending debug message: /home/test.pub:1: key options: agen=
t-forwarding port-forwarding pty user-rc x11-forwarding<br>Jul =C2=A07 11:5=
2:16 TOTO sshd[19553]: debug3: send packet: type 4<br>Jul =C2=A07 11:52:16 =
TOTO sshd[19553]: debug3: sending debug message: /home/test.pub:1: key opti=
ons: agent-forwarding port-forwarding pty user-rc x11-forwarding<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19553]: debug3: send packet: type 4<br>Jul =C2=A07 =
11:52:16 TOTO sshd[19553]: debug1: Entering interactive session for SSH2.<b=
r>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: fd 7 setting O_NONBLOCK<br=
>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: fd 9 setting O_NONBLOCK<br>=
Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug1: server_init_dispatch<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19553]: debug3: receive packet: type 90<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19553]: debug1: server_input_channel_open: ctype=
 session rchan 0 win 2097152 max 32768<br>Jul =C2=A07 11:52:16 TOTO sshd[19=
553]: debug1: input_session_request<br>Jul =C2=A07 11:52:16 TOTO sshd[19553=
]: debug1: channel 0: new [server-session]<br>Jul =C2=A07 11:52:16 TOTO ssh=
d[19553]: debug2: session_new: allocate (allocated 0 max 10)<br>Jul =C2=A07=
 11:52:16 TOTO sshd[19553]: debug3: session_unused: session id 0 unused<br>=
Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug1: session_new: session 0<br>Ju=
l =C2=A07 11:52:16 TOTO sshd[19553]: debug1: session_open: channel 0<br>Jul=
 =C2=A07 11:52:16 TOTO sshd[19553]: debug1: session_open: session 0: link w=
ith channel 0<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug1: server_inpu=
t_channel_open: confirm session<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: d=
ebug3: send packet: type 91<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug=
3: receive packet: type 98<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug1=
: server_input_channel_req: channel 0 request subsystem reply 1<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19553]: debug1: session_by_channel: session 0 chann=
el 0<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug1: session_input_channe=
l_req: session 0 req subsystem<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: de=
bug2: subsystem request for sftp by user toto<br>Jul =C2=A07 11:52:16 TOTO =
sshd[19553]: debug1: subsystem: exec() /usr/lib/openssh/sftp-server -l DEBU=
G3<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: Starting session: subsystem &#=
39;sftp&#39; for toto from 10.91.140.30 port 49822 id 0<br>Jul =C2=A07 11:5=
2:16 TOTO sshd[19553]: debug2: fd 5 setting TCP_NODELAY<br>Jul =C2=A07 11:5=
2:16 TOTO sshd[19553]: debug3: ssh_packet_set_tos: set IP_TOS 0x20<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19553]: debug2: fd 12 setting O_NONBLOCK<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19553]: debug2: fd 11 setting O_NONBLOCK<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19553]: debug2: fd 14 setting O_NONBLOCK<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19553]: debug3: send packet: type 99<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: read 43 from efd 14<br>J=
ul =C2=A07 11:52:16 TOTO sshd[19553]: debug3: channel 0: discard efd<br>Jul=
 =C2=A07 11:52:16 TOTO sshd[19553]: debug1: Received SIGCHLD.<br>Jul =C2=A0=
7 11:52:16 TOTO sshd[19553]: debug1: session_by_pid: pid 19576<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19553]: debug1: session_exit_message: session 0 cha=
nnel 0 pid 19576<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel =
0: request exit-status confirm 0<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: =
debug3: send packet: type 98<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debu=
g1: session_exit_message: release channel 0<br>Jul =C2=A07 11:52:16 TOTO ss=
hd[19553]: debug2: channel 0: write failed<br>Jul =C2=A07 11:52:16 TOTO ssh=
d[19553]: debug2: channel 0: chan_shutdown_write (i0 o0 sock -1 wfd 11 efd =
14 [ignore])<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: s=
end eow<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: output=
 open -&gt; closed<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channe=
l 0: read&lt;=3D0 rfd 12 len 0<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: de=
bug2: channel 0: read failed<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debu=
g2: channel 0: chan_shutdown_read (i0 o3 sock -1 wfd 12 efd 14 [ignore])<br=
>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: input open -&gt;=
 drain<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: read 0 =
from efd 14<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: cl=
osing read-efd 14<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel=
 0: ibuf empty<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0:=
 send eof<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug3: send packet: ty=
pe 96<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: input dr=
ain -&gt; closed<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel =
0: send close<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug3: send packet=
: type 97<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: notify_done: re=
ading<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug3: channel 0: will not=
 send data after close<br>Jul =C2=A07 11:57:15 TOTO sshd[19553]: debug3: re=
ceive packet: type 1<br>Jul =C2=A07 11:57:15 TOTO sshd[19553]: Received dis=
connect from 10.91.140.30 port 49822:11: Shutdown<br>Jul =C2=A07 11:57:15 T=
OTO sshd[19553]: Disconnected from user toto 10.91.140.30 port 49822<br>Jul=
 =C2=A07 11:57:15 TOTO sshd[19553]: debug1: do_cleanup<br>Jul =C2=A07 11:57=
:15 TOTO sshd[19126]: debug3: mm_request_receive entering<br>Jul =C2=A07 11=
:57:15 TOTO sshd[19126]: debug1: do_cleanup<br></div></div>

--000000000000d564f305a9d73fdd--

--===============0293533377==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No
Mi1kZXZlbAo=

--===============0293533377==--

From libssh2-devel-bounces@cool.haxx.se  Tue Jul  7 13:27:04 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 067BQUJa001271;
	Tue, 7 Jul 2020 13:26:55 +0200
Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com
 [IPv6:2607:f8b0:4864:20:0:0:0:32b])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 067BQP8F001206
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Tue, 7 Jul 2020 13:26:25 +0200
Received: by mail-ot1-x32b.google.com with SMTP id g37so10297812otb.9
 for <libssh2-devel@cool.haxx.se>; Tue, 07 Jul 2020 04:26:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
 bh=g2oeujg9TFOxw0Dqel8tfW34MXkxCX8NmDlbgSI9OQU=;
 b=GVOQpaQEUgG38eFmssccQzz/sE24NBAuLiZfiBy/KQiNQ6uFS8DCeBJQsuQf+beQRL
 CHafjQt58gNE+dJjQ9vVWA+KXshMFGOWQBPpo800uSGPA8N6o6E7suVNnw3KWego+YPx
 U9hJHSBCBLCWnTS8LiXXPSpIXL6PRyYqmrxR9raA8rtxs7pVAWRm1p9v1gbBwvYFgW91
 UgleAkdTGJdflXY19cGq3DIppirl6L8h9grPu1vsnC9Vxo1kT+j1lVxB0A0SfftrhwPU
 9mNCfqpoHsZPQs+0MRe+sSUi1/K3dr+sEPQFi9mcgmOE6tZvUHoyLCzn78vAqjrillD2
 adzg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=g2oeujg9TFOxw0Dqel8tfW34MXkxCX8NmDlbgSI9OQU=;
 b=eGoZYKc+u06xjusPOPINRONq5wuE02B6oKi2EqjuL1SwXb9D+e9n65uRDhp68X+ZVR
 4aaOtBs4MM+tf2FaiYNKCYYYSnwTniBvqi5Wr2lY0fkoCs69roLFDeNY7mVvIUGtdmZE
 xa2BbfUk16QyCMj41p1FhFg89HkTeqPikAs5WDES+5nEDFPGlzS0OA1s2zQGHwDti/q8
 8JE+fPjBOUYMatbXRxgYgUrhBa6+DqhxiZ2hSgvSxHox7v3Vs903q4MdDkVnbHktjBW7
 wEjnmYYdifVU9rA2nYp+bX+Vs+IyME9MLMcE2gc5xbY6Xn9dnyhMa65FUrvDmCo7l2mj
 kTSQ==
X-Gm-Message-State: AOAM533zD4zkgIVYly9yOcsXPKhOi0IwDvt+dyh9lrSrlJCGXOsCqA1U
 +9Pe1TeIfIQxicXA0/r9KHpKXptCNhdpykE0yP+pzCmO
X-Google-Smtp-Source: ABdhPJw6nSlhAjvg0tuUudVhCZlJnSZ9syPsmbABhJXTQKsB2nwtLgVYCKIsDd7cqZQ/eH3IZvFXjgUFArqsG0Ls7Z0=
X-Received: by 2002:a9d:6341:: with SMTP id y1mr47132343otk.338.1594121179893; 
 Tue, 07 Jul 2020 04:26:19 -0700 (PDT)
MIME-Version: 1.0
References: <CAF+MRtmzRdaOwMKZuFkyZqPqSt0aqwp1NDjR0rmNhB4neVmvCg@mail.gmail.com>
In-Reply-To: <CAF+MRtmzRdaOwMKZuFkyZqPqSt0aqwp1NDjR0rmNhB4neVmvCg@mail.gmail.com>
From: Micka <mickamusset@gmail.com>
Date: Tue, 7 Jul 2020 13:26:08 +0200
Message-ID: <CAF+MRt=0CHezmg-n5adNr-MUt-mKsBT2dy+Xhq6f5aMjvs4DQA@mail.gmail.com>
Subject: Re: libssh2 is hanging during a file transfert
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============0240068719=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============0240068719==
Content-Type: multipart/alternative; boundary="000000000000a818aa05a9d842bb"

--000000000000a818aa05a9d842bb
Content-Type: text/plain; charset="UTF-8"

And this is the trace from the client libssh2 :

[libssh2] 3.139411 Transport: Packet type 4 received, length=144
[libssh2] 3.139411 Transport: Debug Packet: /home/test.pub:1: key options:
agent-forwarding port-forwarding pty user-rc x11-forwarding
[libssh2] 3.155011 Transport: Looking for packet of type: 91
[libssh2] 3.155011 Transport: Looking for packet of type: 92
[libssh2] 3.155011 Socket: Recved 64/16384 bytes to 005ECB18+0
=> libssh2_transport_read() raw (64 bytes)
0000: 64 B2 41 29 E9 3E 78 DD  04 3A 7B 8E 30 A8 B5 08 : d.A).>x..:{.0...
0010: E5 0B 49 5A 01 45 91 4C  53 E8 6F D1 E8 15 4D 95 : ..IZ.E.LS.o...M.
0020: DC 21 3F F8 BE C4 7C 42  A4 F6 4E 41 99 4C 23 41 : .!?...|B..NA.L#A
0030: 61 CD CE 38 1E 80 7E AB  06 B9 71 8C 13 54 0B 0E : a..8..~...q..T..
=> libssh2_transport_read() plain (17 bytes)
0000: 5B 00 00 00 00 00 00 00  00 00 00 00 00 00 00 80 : [...............
0010: 00                                               : .
[libssh2] 3.170611 Transport: Packet type 91 received, length=17
[libssh2] 3.170611 Transport: Looking for packet of type: 91
[libssh2] 3.170611 Conn: Connection Established - ID: 0/0 win: 0/2097152
pack: 32768/32768
[libssh2] 3.170611 Conn: starting request(subsystem) on channel 0/0,
message=sftp
=> libssh2_transport_write plain (23 bytes)
0000: 62 00 00 00 00 00 00 00  09 73 75 62 73 79 73 74 : b........subsyst
0010: 65 6D 01 00 00 00 04                             : em.....
=> libssh2_transport_write plain2 (4 bytes)
0000: 73 66 74 70                                      : sftp
[libssh2] 3.170611 Socket: Sent 80/80 bytes at 005F0B40
=> libssh2_transport_write send() (80 bytes)
0000: 75 10 1C 00 39 49 6D A4  43 3A E1 E7 21 72 4F 85 : u...9Im.C:..!rO.
0010: 66 3A D6 B4 95 6A 6E B1  2B A1 3D F7 A1 1A 5E 28 : f:...jn.+.=...^(
0020: BC B3 10 41 34 7D 1B 71  30 AE 42 FD 7A E5 A7 36 : ...A4}.q0.B.z..6
0030: F7 CA 2D 6C F7 32 08 B5  79 AF 4B C6 5E C9 97 41 : ..-l.2..y.K.^..A
0040: 6B D0 80 6C 3B D4 C4 9A  92 47 AE 50 FE 2A 22 D9 : k..l;....G.P.*".
[libssh2] 3.186211 Transport: Looking for packet of type: 99
[libssh2] 3.186211 Transport: Looking for packet of type: 100
[libssh2] 3.186211 Socket: Recved 112/16384 bytes to 005ECB18+0
=> libssh2_transport_read() raw (112 bytes)
0000: 6D 49 EC 6A E8 A3 E8 39  D5 E7 4F 44 1B 13 B1 D8 : mI.j...9..OD....
0010: D7 1B 99 71 A6 FE 71 6A  6C F3 B8 0C 7B 17 16 36 : ...q..qjl...{..6
0020: BA D9 D7 24 EF DB FB D6  4B C6 41 B2 97 81 7D 19 : ...$....K.A...}.
0030: 52 7A 07 BC EA 9D 49 7F  E5 01 1A 14 FA 36 02 A5 : Rz....I......6..
0040: 0F 94 62 5E B2 14 92 34  72 CE 00 DF C1 59 69 10 : ..b^...4r....Yi.
0050: FA 32 22 6E 5C BE F4 91  AC 8A 0B 9F 2A EE 2E 10 : .2"n\.......*...
0060: 70 91 94 6F AC F7 75 C6  C4 D5 F5 28 F3 50 9A B5 : p..o..u....(.P..
=> libssh2_transport_read() plain (9 bytes)
0000: 5D 00 00 00 00 00 20 00  00                      : ]..... ..
[libssh2] 3.217411 Transport: Packet type 93 received, length=9
[libssh2] 3.217411 Conn: Window adjust for channel 0/0, adding 2097152
bytes, new window_size=2097152
=> libssh2_transport_read() plain (5 bytes)
0000: 63 00 00 00 00                                   : c....
[libssh2] 3.217411 Transport: Packet type 99 received, length=5
[libssh2] 3.217411 Transport: Looking for packet of type: 99
[libssh2] 3.217411 Conn: Setting channel 0/0 handle_extended_data mode to 1
[libssh2] 3.217411 SFTP: Sending FXP_INIT packet advertising version 3
support
[libssh2] 3.233011 Conn: Writing 9 bytes on channel 0/0, stream #0
[libssh2] 3.233011 Socket: Recved 176/16384 bytes to 005ECB18+0
=> libssh2_transport_read() raw (176 bytes)
0000: BD EC E4 16 2F 05 A2 AD  03 E1 02 6D BB 99 A4 B7 : ..../......m....
0010: E5 C6 7E CD B1 F8 8E 58  C5 4A 31 F3 F7 D0 34 A0 : ..~....X.J1...4.
0020: AC 7C D9 DB BB DC C0 7E  53 87 DC 62 93 74 D1 21 : .|.....~S..b.t.!
0030: AC 8A 8C 8D F3 71 51 9F  99 4A F8 A7 61 71 F0 4F : .....qQ..J..aq.O
0040: 6E 83 2C 8C DE C1 84 B0  89 70 16 5F 17 DF 8C 63 : n.,......p._...c
0050: 65 C3 AE 19 F2 A4 95 14  52 1B E7 80 57 1B C1 50 : e.......R...W..P
0060: FC E4 85 F6 9A 5B C4 43  73 0A D9 CC D1 C6 41 8E : .....[.Cs.....A.
0070: BB 0E 1D A6 D5 C9 E3 74  E2 5A A1 B1 CF FA 14 AA : .......t.Z......
0080: AC E6 5F 18 16 53 6B D0  B6 4D F0 96 C6 77 55 2B : .._..Sk..M...wU+
0090: 58 6C 60 0F 95 57 CB 31  BB 37 A0 CF EC 29 34 25 : Xl`..W.1.7...)4%
00a0: F1 4A EB DF 95 11 1D 0C  8C 73 F4 8A A3 AC AB 70 : .J.......s.....p
=> libssh2_transport_read() plain (25 bytes)
0000: 62 00 00 00 00 00 00 00  0B 65 78 69 74 2D 73 74 : b........exit-st
0010: 61 74 75 73 00 00 00 00  01                      : atus.....
[libssh2] 3.248611 Transport: Packet type 98 received, length=25
[libssh2] 3.248611 Conn: Channel 0 received request type exit-status (wr 0)
[libssh2] 3.264211 Conn: Exit status 1 received for channel 0/0
=> libssh2_transport_read() plain (5 bytes)
0000: 60 00 00 00 00                                   : `....
[libssh2] 3.264211 Transport: Packet type 96 received, length=5
[libssh2] 3.264211 Conn: EOF received for channel 0/0
=> libssh2_transport_read() plain (5 bytes)
0000: 61 00 00 00 00                                   : a....
[libssh2] 3.264211 Transport: Packet type 97 received, length=5
[libssh2] 3.279811 Conn: Close received for channel 0/0
[libssh2] 3.279811 Conn: Sending 9 bytes on channel 0/0, stream_id=0
=> libssh2_transport_write plain (9 bytes)
0000: 5E 00 00 00 00 00 00 00  09                      : ^........
=> libssh2_transport_write plain2 (9 bytes)
0000: 00 00 00 05 01 00 00 00  03                      : .........
[libssh2] 3.279811 Socket: Sent 64/64 bytes at 005F0B40
=> libssh2_transport_write send() (64 bytes)
0000: A4 39 BB 54 DD 45 BA 26  E7 E2 F2 79 7C 2D 9F 1A : .9.T.E.&...y|-..
0010: 29 AF 91 21 71 4A 13 4C  CB 7D 4C E5 22 61 FE AF : )..!qJ.L.}L."a..
0020: 14 6E 13 C8 89 2A 43 58  72 60 4B 43 20 FA D5 73 : .n...*CXr`KC ..s
0030: BB 80 95 44 78 D2 0B 1E  D5 59 DB E2 E8 7F 09 F8 : ...Dx....Y......
[libssh2] 3.295411 SFTP: Requiring packet 2 id 0
[libssh2] 3.295411 SFTP: recv packet
[libssh2] 3.295411 Conn: channel_read() wants 4 bytes from channel 0/0
stream #0
[libssh2] 4.309413 SFTP: Requiring packet 2 id 0
[libssh2] 4.309413 SFTP: recv packet
[libssh2] 4.309413 Conn: channel_read() wants 4 bytes from channel 0/0
stream #0
[libssh2] 5.323415 SFTP: Requiring packet 2 id 0
[libssh2] 5.323415 SFTP: recv packet
[libssh2] 5.323415 Conn: channel_read() wants 4 bytes from channel 0/0
stream #0
[libssh2] 6.337417 SFTP: Requiring packet 2 id 0
[libssh2] 6.337417 SFTP: recv packet
[libssh2] 6.337417 Conn: channel_read() wants 4 bytes from channel 0/0
stream #0
[libssh2] 7.351418 SFTP: Requiring packet 2 id 0
[libssh2] 7.351418 SFTP: recv packet
[libssh2] 7.351418 Conn: channel_read() wants 4 bytes from channel 0/0
stream #0
[libssh2] 8.365420 SFTP: Requiring packet 2 id 0
[libssh2] 8.365420 SFTP: recv packet
[libssh2] 8.365420 Conn: channel_read() wants 4 bytes from channel 0/0
stream #0
[libssh2] 9.379422 SFTP: Requiring packet 2 id 0
[libssh2] 9.379422 SFTP: recv packet
[libssh2] 9.379422 Conn: channel_read() wants 4 bytes from channel 0/0
stream #0
[libssh2] 10.393424 SFTP: Requiring packet 2 id 0
[libssh2] 10.393424 SFTP: recv packet
[libssh2] 10.393424 Conn: channel_read() wants 4 bytes from channel 0/0
stream #0


this where it takes 5 minutes ..... it is repeating ..... until 5 minutes
.... any idea ? why ?

On Tue, Jul 7, 2020 at 12:13 PM Micka <mickamusset@gmail.com> wrote:

> Hi,
>
> I'm trying to send data to a server with openssh 7.9p1, but it's hanging
> somewhere.
>
> the client stop at the line :
>   Jul  7 11:52:16 TOTO sshd[19553]: debug3: channel 0: will not send data
> after close
>
> and after 5 minutes the client closes the connection, why ?
>
> This is the trace of the server openssh : ( DEBUG3 level)
>
> Jul  7 11:52:15 TOTO sshd[31175]: debug3: fd 6 is not O_NONBLOCK
> Jul  7 11:52:15 TOTO sshd[31175]: debug1: Forked child 19126.
> Jul  7 11:52:15 TOTO sshd[31175]: debug3: send_rexec_state: entering fd =
> 9 config len 970
> Jul  7 11:52:15 TOTO sshd[31175]: debug3: ssh_msg_send: type 0
> Jul  7 11:52:15 TOTO sshd[31175]: debug3: send_rexec_state: done
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: oom_adjust_restore
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: Set /proc/self/oom_score_adj to 0
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: rexec start in 6 out 6 newsock 6
> pipe 8 sock 9
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: inetd sockets after dupping: 5, 5
> Jul  7 11:52:15 TOTO sshd[19126]: Connection from 10.91.140.30 port 49822
> on 10.91.141.1 port 22
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: Client protocol version 2.0;
> client software version libssh2_1.9.0_DEV
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: no match: libssh2_1.9.0_DEV
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: Local version string
> SSH-2.0-OpenSSH_7.9
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: fd 5 setting O_NONBLOCK
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: ssh_sandbox_init: preparing
> seccomp filter sandbox
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: Network child is on pid 19151
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: preauth child monitor started
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: privsep user:group 106:65534
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: permanently_set_uid: 106/65534
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: ssh_sandbox_child: setting
> PR_SET_NO_NEW_PRIVS [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: ssh_sandbox_child: attaching
> seccomp filter program [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: list_hostkey_types:
> rsa-sha2-512,rsa-sha2-256,ssh-rsa [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 20 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_KEXINIT sent [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 20 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_KEXINIT received
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: local server KEXINIT proposal
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: KEX algorithms:
> diffie-hellman-group-exchange-sha256 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: host key algorithms:
> rsa-sha2-512,rsa-sha2-256,ssh-rsa [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: ciphers ctos:
> aes256-ctr,aes192-ctr,aes128-ctr [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: ciphers stoc:
> aes256-ctr,aes192-ctr,aes128-ctr [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: MACs ctos:
> hmac-sha2-512,hmac-sha2-256 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: MACs stoc:
> hmac-sha2-512,hmac-sha2-256 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: compression ctos: none [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: compression stoc: none [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: languages ctos:  [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: languages stoc:  [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: first_kex_follows 0  [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: reserved 0  [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: peer client KEXINIT proposal
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: KEX algorithms:
> ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,curve25519-sha256,
> curve25519-sha256@libssh.org,diffie-hellman-group14-sha256,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: host key algorithms: ssh-rsa
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: ciphers ctos:
> aes128-ctr,aes192-ctr,aes256-ctr,aes256-cbc,rijndael-cbc@lysator.liu.se,aes192-cbc,aes128-cbc,blowfish-cbc,arcfour128,arcfour,cast128-cbc,3des-cbc
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: ciphers stoc:
> aes128-ctr,aes192-ctr,aes256-ctr,aes256-cbc,rijndael-cbc@lysator.liu.se,aes192-cbc,aes128-cbc,blowfish-cbc,arcfour128,arcfour,cast128-cbc,3des-cbc
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: MACs ctos:
> hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,
> hmac-ripemd160@openssh.com [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: MACs stoc:
> hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,
> hmac-ripemd160@openssh.com [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: compression ctos: none [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: compression stoc: none [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: languages ctos:  [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: languages stoc:  [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: first_kex_follows 0  [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: reserved 0  [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: kex: algorithm:
> diffie-hellman-group-exchange-sha256 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: kex: host key algorithm: ssh-rsa
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: kex: client->server cipher:
> aes128-ctr MAC: hmac-sha2-256 compression: none [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: kex: server->client cipher:
> aes128-ctr MAC: hmac-sha2-256 compression: none [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: expecting
> SSH2_MSG_KEX_DH_GEX_REQUEST [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 34 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_KEX_DH_GEX_REQUEST
> received [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 0
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_choose_dh: waiting for
> MONITOR_ANS_MODULI [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive_expect
> entering: type 1 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 0
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_moduli: got
> parameters: 2048 4096 8192
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 1
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: monitor_read: 0 used once,
> disabling now
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_choose_dh: remaining 0
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 31 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: bits set: 1978/4096 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: expecting
> SSH2_MSG_KEX_DH_GEX_INIT [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 32 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: bits set: 2017/4096 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_sshkey_sign entering [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 6
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 6
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_sign
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_sign: hostkey proof
> signature 0x80311540(271)
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 7
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: monitor_read: 6 used once,
> disabling now
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_sshkey_sign: waiting for
> MONITOR_ANS_SIGN [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive_expect
> entering: type 7 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 33 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 21 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: set_newkeys: mode 1 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: rekey after 4294967296 blocks
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_NEWKEYS sent [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: expecting SSH2_MSG_NEWKEYS
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 21 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_NEWKEYS received
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: set_newkeys: mode 0 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: rekey after 4294967296 blocks
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: KEX done [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 5 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 6 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 50 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: userauth-request for user toto
> service ssh-connection method none [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: attempt 0 failures 0 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_getpwnamallow entering
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 8
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_getpwnamallow: waiting for
> MONITOR_ANS_PWNAM [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive_expect
> entering: type 9 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 8
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_pwnamallow
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: parse_server_config: config
> reprocess config len 970
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: auth_shadow_acctexpired: today
> 18450 sp_expire -1 days left -18451
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: account expiration disabled
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_pwnamallow: sending
> MONITOR_ANS_PWNAM: 1
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 9
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: monitor_read: 8 used once,
> disabling now
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: input_userauth_request: setting
> up authctxt for toto [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_inform_authserv entering
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 4
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_auth2_read_banner entering
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type
> 10 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive_expect
> entering: type 11 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 4
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_authserv:
> service=ssh-connection, style=
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: monitor_read: 4 used once,
> disabling now
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 10
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 11
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: monitor_read: 10 used once,
> disabling now
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 53 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: userauth_send_banner: sent
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: input_userauth_request: try
> method none [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: user_specific_delay: user
> specific delay 0.000ms [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: ensure_minimum_time_since:
> elapsed 73.257ms, delaying 64.508ms (requested 8.610ms) [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: userauth_finish: failure
> partial=0 next methods="publickey" [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 51 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 50 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: userauth-request for user toto
> service ssh-connection method publickey [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: attempt 1 failures 0 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug2: input_userauth_request: try
> method publickey [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: userauth_pubkey: test pkalg
> ssh-rsa pkblob RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_key_allowed entering [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type
> 22 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_key_allowed: waiting for
> MONITOR_ANS_KEYALLOWED [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive_expect
> entering: type 23 [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
> [preauth]
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 22
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_keyallowed entering
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_keyallowed:
> key_from_blob: 0x80306160
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: temporarily_use_uid: 1001/1001
> (e=0/0)
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: trying public key file
> /home/test.pub
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: fd 4 clearing O_NONBLOCK
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: /home/test.pub:1: matching key
> found: RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: /home/test.pub:1: key options:
> agent-forwarding port-forwarding pty user-rc x11-forwarding
> Jul  7 11:52:15 TOTO sshd[19126]: Accepted key RSA
> SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4 found at /home/test.pub:1
> Jul  7 11:52:15 TOTO sshd[19126]: debug1: restore_uid: 0/0
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_keyallowed: publickey
> authentication test: RSA key is allowed
> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 23
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: send packet: type 60 [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug2: userauth_pubkey: authenticated 0
> pkalg ssh-rsa [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: user_specific_delay: user
> specific delay 0.000ms [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: ensure_minimum_time_since:
> elapsed 10.037ms, delaying 7.184ms (requested 8.610ms) [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: Postponed publickey for toto from
> 10.91.140.30 port 49822 ssh2 [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: receive packet: type 50 [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug1: userauth-request for user toto
> service ssh-connection method publickey [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug1: attempt 2 failures 0 [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug2: input_userauth_request: try
> method publickey [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: userauth_pubkey: have ssh-rsa
> signature for RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4
> [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_key_allowed entering [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_send entering: type
> 22 [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_key_allowed: waiting for
> MONITOR_ANS_KEYALLOWED [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive_expect
> entering: type 23 [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive entering
> [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive entering
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: monitor_read: checking request 22
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_answer_keyallowed entering
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_answer_keyallowed:
> key_from_blob: 0x80309fd0
> Jul  7 11:52:16 TOTO sshd[19126]: debug1: temporarily_use_uid: 1001/1001
> (e=0/0)
> Jul  7 11:52:16 TOTO sshd[19126]: debug1: trying public key file
> /home/test.pub
> Jul  7 11:52:16 TOTO sshd[19126]: debug1: fd 4 clearing O_NONBLOCK
> Jul  7 11:52:16 TOTO sshd[19126]: debug1: /home/test.pub:1: matching key
> found: RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4
> Jul  7 11:52:16 TOTO sshd[19126]: debug1: /home/test.pub:1: key options:
> agent-forwarding port-forwarding pty user-rc x11-forwarding
> Jul  7 11:52:16 TOTO sshd[19126]: Accepted key RSA
> SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4 found at /home/test.pub:1
> Jul  7 11:52:16 TOTO sshd[19126]: debug1: restore_uid: 0/0
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_answer_keyallowed: publickey
> authentication: RSA key is allowed
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_send entering: type 23
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_sshkey_verify entering
> [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_send entering: type
> 24 [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_sshkey_verify: waiting for
> MONITOR_ANS_KEYVERIFY [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive_expect
> entering: type 25 [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive entering
> [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive entering
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: monitor_read: checking request 24
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_answer_keyverify: publickey
> 0x80309fd0 signature verified
> Jul  7 11:52:16 TOTO sshd[19126]: debug1: auth_activate_options: setting
> new authentication options
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_send entering: type 25
> Jul  7 11:52:16 TOTO sshd[19126]: Accepted publickey for toto from
> 10.91.140.30 port 49822 ssh2: RSA
> SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4
> Jul  7 11:52:16 TOTO sshd[19126]: debug1: monitor_child_preauth: toto has
> been authenticated by privileged process
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_get_keystate: Waiting for new
> keys
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive_expect
> entering: type 26
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive entering
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_get_keystate: GOT new keys
> Jul  7 11:52:16 TOTO sshd[19126]: debug1: auth_activate_options: setting
> new authentication options [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug2: userauth_pubkey: authenticated 1
> pkalg ssh-rsa [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: user_specific_delay: user
> specific delay 0.000ms [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: ensure_minimum_time_since:
> elapsed 12.239ms, delaying 4.982ms (requested 8.610ms) [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: send packet: type 52 [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_send entering: type
> 26 [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_send_keystate: Finished
> sending state [preauth]
> Jul  7 11:52:16 TOTO sshd[19126]: debug1: monitor_read_log: child log fd
> closed
> Jul  7 11:52:16 TOTO sshd[19126]: debug3: ssh_sandbox_parent_finish:
> finished
> Jul  7 11:52:16 TOTO sshd[19126]: User child is on pid 19553
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: permanently_set_uid: 1001/1001
> Jul  7 11:52:16 TOTO sshd[19553]: debug3: monitor_apply_keystate:
> packet_set_state
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: set_newkeys: mode 0
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: rekey after 4294967296 blocks
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: set_newkeys: mode 1
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: rekey after 4294967296 blocks
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: ssh_packet_set_postauth: called
> Jul  7 11:52:16 TOTO sshd[19553]: debug3: ssh_packet_set_state: done
> Jul  7 11:52:16 TOTO sshd[19553]: debug3: notify_hostkeys: key 0: ssh-rsa
> SHA256:vYlhpVfmXfMCmgD8vuI3qK7ppf3aRj8qhg3hj8OtJCI
> Jul  7 11:52:16 TOTO sshd[19553]: debug3: notify_hostkeys: sent 1 hostkeys
> Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 80
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: active: key options:
> agent-forwarding port-forwarding pty user-rc x11-forwarding
> Jul  7 11:52:16 TOTO sshd[19553]: debug3: sending debug message:
> /home/test.pub:1: key options: agent-forwarding port-forwarding pty user-rc
> x11-forwarding
> Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 4
> Jul  7 11:52:16 TOTO sshd[19553]: debug3: sending debug message:
> /home/test.pub:1: key options: agent-forwarding port-forwarding pty user-rc
> x11-forwarding
> Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 4
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: Entering interactive session for
> SSH2.
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: fd 7 setting O_NONBLOCK
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: fd 9 setting O_NONBLOCK
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: server_init_dispatch
> Jul  7 11:52:16 TOTO sshd[19553]: debug3: receive packet: type 90
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: server_input_channel_open: ctype
> session rchan 0 win 2097152 max 32768
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: input_session_request
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: channel 0: new [server-session]
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: session_new: allocate (allocated
> 0 max 10)
> Jul  7 11:52:16 TOTO sshd[19553]: debug3: session_unused: session id 0
> unused
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_new: session 0
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_open: channel 0
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_open: session 0: link
> with channel 0
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: server_input_channel_open:
> confirm session
> Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 91
> Jul  7 11:52:16 TOTO sshd[19553]: debug3: receive packet: type 98
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: server_input_channel_req:
> channel 0 request subsystem reply 1
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_by_channel: session 0
> channel 0
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_input_channel_req:
> session 0 req subsystem
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: subsystem request for sftp by
> user toto
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: subsystem: exec()
> /usr/lib/openssh/sftp-server -l DEBUG3
> Jul  7 11:52:16 TOTO sshd[19553]: Starting session: subsystem 'sftp' for
> toto from 10.91.140.30 port 49822 id 0
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: fd 5 setting TCP_NODELAY
> Jul  7 11:52:16 TOTO sshd[19553]: debug3: ssh_packet_set_tos: set IP_TOS
> 0x20
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: fd 12 setting O_NONBLOCK
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: fd 11 setting O_NONBLOCK
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: fd 14 setting O_NONBLOCK
> Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 99
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: read 43 from efd 14
> Jul  7 11:52:16 TOTO sshd[19553]: debug3: channel 0: discard efd
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: Received SIGCHLD.
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_by_pid: pid 19576
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_exit_message: session 0
> channel 0 pid 19576
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: request exit-status
> confirm 0
> Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 98
> Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_exit_message: release
> channel 0
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: write failed
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: chan_shutdown_write
> (i0 o0 sock -1 wfd 11 efd 14 [ignore])
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: send eow
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: output open -> closed
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: read<=0 rfd 12 len 0
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: read failed
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: chan_shutdown_read
> (i0 o3 sock -1 wfd 12 efd 14 [ignore])
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: input open -> drain
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: read 0 from efd 14
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: closing read-efd 14
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: ibuf empty
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: send eof
> Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 96
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: input drain -> closed
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: send close
> Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 97
> Jul  7 11:52:16 TOTO sshd[19553]: debug2: notify_done: reading
> Jul  7 11:52:16 TOTO sshd[19553]: debug3: channel 0: will not send data
> after close
> Jul  7 11:57:15 TOTO sshd[19553]: debug3: receive packet: type 1
> Jul  7 11:57:15 TOTO sshd[19553]: Received disconnect from 10.91.140.30
> port 49822:11: Shutdown
> Jul  7 11:57:15 TOTO sshd[19553]: Disconnected from user toto 10.91.140.30
> port 49822
> Jul  7 11:57:15 TOTO sshd[19553]: debug1: do_cleanup
> Jul  7 11:57:15 TOTO sshd[19126]: debug3: mm_request_receive entering
> Jul  7 11:57:15 TOTO sshd[19126]: debug1: do_cleanup
>

--000000000000a818aa05a9d842bb
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">And this is the trace from the client libssh2 :<div><br></=
div><div>[libssh2] 3.139411 Transport: Packet type 4 received, length=3D144=
<br>[libssh2] 3.139411 Transport: Debug Packet: /home/test.pub:1: key optio=
ns: agent-forwarding port-forwarding pty user-rc x11-forwarding<br>[libssh2=
] 3.155011 Transport: Looking for packet of type: 91<br>[libssh2] 3.155011 =
Transport: Looking for packet of type: 92<br>[libssh2] 3.155011 Socket: Rec=
ved 64/16384 bytes to 005ECB18+0<br>=3D&gt; libssh2_transport_read() raw (6=
4 bytes)<br>0000: 64 B2 41 29 E9 3E 78 DD =C2=A004 3A 7B 8E 30 A8 B5 08 : d=
.A).&gt;x..:{.0...<br>0010: E5 0B 49 5A 01 45 91 4C =C2=A053 E8 6F D1 E8 15=
 4D 95 : ..IZ.E.LS.o...M.<br>0020: DC 21 3F F8 BE C4 7C 42 =C2=A0A4 F6 4E 4=
1 99 4C 23 41 : .!?...|B..NA.L#A<br>0030: 61 CD CE 38 1E 80 7E AB =C2=A006 =
B9 71 8C 13 54 0B 0E : a..8..~...q..T..<br>=3D&gt; libssh2_transport_read()=
 plain (17 bytes)<br>0000: 5B 00 00 00 00 00 00 00 =C2=A000 00 00 00 00 00 =
00 80 : [...............<br>0010: 00 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : .<br>[libssh2] 3.170611 =
Transport: Packet type 91 received, length=3D17<br>[libssh2] 3.170611 Trans=
port: Looking for packet of type: 91<br>[libssh2] 3.170611 Conn: Connection=
 Established - ID: 0/0 win: 0/2097152 pack: 32768/32768<br>[libssh2] 3.1706=
11 Conn: starting request(subsystem) on channel 0/0, message=3Dsftp<br>=3D&=
gt; libssh2_transport_write plain (23 bytes)<br>0000: 62 00 00 00 00 00 00 =
00 =C2=A009 73 75 62 73 79 73 74 : b........subsyst<br>0010: 65 6D 01 00 00=
 00 04 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : em.....<br>=3D&gt; libssh2_transport_writ=
e plain2 (4 bytes)<br>0000: 73 66 74 70 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0: sftp<br>[libssh2] 3.170611 Socket: Sent 80/80 byt=
es at 005F0B40<br>=3D&gt; libssh2_transport_write send() (80 bytes)<br>0000=
: 75 10 1C 00 39 49 6D A4 =C2=A043 3A E1 E7 21 72 4F 85 : u...9Im.C:..!rO.<=
br>0010: 66 3A D6 B4 95 6A 6E B1 =C2=A02B A1 3D F7 A1 1A 5E 28 : f:...jn.+.=
=3D...^(<br>0020: BC B3 10 41 34 7D 1B 71 =C2=A030 AE 42 FD 7A E5 A7 36 : .=
..A4}.q0.B.z..6<br>0030: F7 CA 2D 6C F7 32 08 B5 =C2=A079 AF 4B C6 5E C9 97=
 41 : ..-l.2..y.K.^..A<br>0040: 6B D0 80 6C 3B D4 C4 9A =C2=A092 47 AE 50 F=
E 2A 22 D9 : k..l;....G.P.*&quot;.<br>[libssh2] 3.186211 Transport: Looking=
 for packet of type: 99<br>[libssh2] 3.186211 Transport: Looking for packet=
 of type: 100<br>[libssh2] 3.186211 Socket: Recved 112/16384 bytes to 005EC=
B18+0<br>=3D&gt; libssh2_transport_read() raw (112 bytes)<br>0000: 6D 49 EC=
 6A E8 A3 E8 39 =C2=A0D5 E7 4F 44 1B 13 B1 D8 : mI.j...9..OD....<br>0010: D=
7 1B 99 71 A6 FE 71 6A =C2=A06C F3 B8 0C 7B 17 16 36 : ...q..qjl...{..6<br>=
0020: BA D9 D7 24 EF DB FB D6 =C2=A04B C6 41 B2 97 81 7D 19 : ...$....K.A..=
.}.<br>0030: 52 7A 07 BC EA 9D 49 7F =C2=A0E5 01 1A 14 FA 36 02 A5 : Rz....=
I......6..<br>0040: 0F 94 62 5E B2 14 92 34 =C2=A072 CE 00 DF C1 59 69 10 :=
 ..b^...4r....Yi.<br>0050: FA 32 22 6E 5C BE F4 91 =C2=A0AC 8A 0B 9F 2A EE =
2E 10 : .2&quot;n\.......*...<br>0060: 70 91 94 6F AC F7 75 C6 =C2=A0C4 D5 =
F5 28 F3 50 9A B5 : p..o..u....(.P..<br>=3D&gt; libssh2_transport_read() pl=
ain (9 bytes)<br>0000: 5D 00 00 00 00 00 20 00 =C2=A000 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: ]..... ..<br>[=
libssh2] 3.217411 Transport: Packet type 93 received, length=3D9<br>[libssh=
2] 3.217411 Conn: Window adjust for channel 0/0, adding 2097152 bytes, new =
window_size=3D2097152<br>=3D&gt; libssh2_transport_read() plain (5 bytes)<b=
r>0000: 63 00 00 00 00 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : c....<=
br>[libssh2] 3.217411 Transport: Packet type 99 received, length=3D5<br>[li=
bssh2] 3.217411 Transport: Looking for packet of type: 99<br>[libssh2] 3.21=
7411 Conn: Setting channel 0/0 handle_extended_data mode to 1<br>[libssh2] =
3.217411 SFTP: Sending FXP_INIT packet advertising version 3 support<br>[li=
bssh2] 3.233011 Conn: Writing 9 bytes on channel 0/0, stream #0<br>[libssh2=
] 3.233011 Socket: Recved 176/16384 bytes to 005ECB18+0<br>=3D&gt; libssh2_=
transport_read() raw (176 bytes)<br>0000: BD EC E4 16 2F 05 A2 AD =C2=A003 =
E1 02 6D BB 99 A4 B7 : ..../......m....<br>0010: E5 C6 7E CD B1 F8 8E 58 =
=C2=A0C5 4A 31 F3 F7 D0 34 A0 : ..~....X.J1...4.<br>0020: AC 7C D9 DB BB DC=
 C0 7E =C2=A053 87 DC 62 93 74 D1 21 : .|.....~S..b.t.!<br>0030: AC 8A 8C 8=
D F3 71 51 9F =C2=A099 4A F8 A7 61 71 F0 4F : .....qQ..J..aq.O<br>0040: 6E =
83 2C 8C DE C1 84 B0 =C2=A089 70 16 5F 17 DF 8C 63 : n.,......p._...c<br>00=
50: 65 C3 AE 19 F2 A4 95 14 =C2=A052 1B E7 80 57 1B C1 50 : e.......R...W..=
P<br>0060: FC E4 85 F6 9A 5B C4 43 =C2=A073 0A D9 CC D1 C6 41 8E : .....[.C=
s.....A.<br>0070: BB 0E 1D A6 D5 C9 E3 74 =C2=A0E2 5A A1 B1 CF FA 14 AA : .=
......t.Z......<br>0080: AC E6 5F 18 16 53 6B D0 =C2=A0B6 4D F0 96 C6 77 55=
 2B : .._..Sk..M...wU+<br>0090: 58 6C 60 0F 95 57 CB 31 =C2=A0BB 37 A0 CF E=
C 29 34 25 : Xl`..W.1.7...)4%<br>00a0: F1 4A EB DF 95 11 1D 0C =C2=A08C 73 =
F4 8A A3 AC AB 70 : .J.......s.....p<br>=3D&gt; libssh2_transport_read() pl=
ain (25 bytes)<br>0000: 62 00 00 00 00 00 00 00 =C2=A00B 65 78 69 74 2D 73 =
74 : b........exit-st<br>0010: 61 74 75 73 00 00 00 00 =C2=A001 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: atus...=
..<br>[libssh2] 3.248611 Transport: Packet type 98 received, length=3D25<br=
>[libssh2] 3.248611 Conn: Channel 0 received request type exit-status (wr 0=
)<br>[libssh2] 3.264211 Conn: Exit status 1 received for channel 0/0<br>=3D=
&gt; libssh2_transport_read() plain (5 bytes)<br>0000: 60 00 00 00 00 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : `....<br>[libssh2] 3.264211 Tra=
nsport: Packet type 96 received, length=3D5<br>[libssh2] 3.264211 Conn: EOF=
 received for channel 0/0<br>=3D&gt; libssh2_transport_read() plain (5 byte=
s)<br>0000: 61 00 00 00 00 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : a.=
...<br>[libssh2] 3.264211 Transport: Packet type 97 received, length=3D5<br=
>[libssh2] 3.279811 Conn: Close received for channel 0/0<br>[libssh2] 3.279=
811 Conn: Sending 9 bytes on channel 0/0, stream_id=3D0<br>=3D&gt; libssh2_=
transport_write plain (9 bytes)<br>0000: 5E 00 00 00 00 00 00 00 =C2=A009 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0: ^........<br>=3D&gt; libssh2_transport_write plain2 (9 bytes)<br>0000:=
 00 00 00 05 01 00 00 00 =C2=A003 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: .........<br>[libssh2] 3.279811 Socket=
: Sent 64/64 bytes at 005F0B40<br>=3D&gt; libssh2_transport_write send() (6=
4 bytes)<br>0000: A4 39 BB 54 DD 45 BA 26 =C2=A0E7 E2 F2 79 7C 2D 9F 1A : .=
9.T.E.&amp;...y|-..<br>0010: 29 AF 91 21 71 4A 13 4C =C2=A0CB 7D 4C E5 22 6=
1 FE AF : )..!qJ.L.}L.&quot;a..<br>0020: 14 6E 13 C8 89 2A 43 58 =C2=A072 6=
0 4B 43 20 FA D5 73 : .n...*CXr`KC ..s<br>0030: BB 80 95 44 78 D2 0B 1E =C2=
=A0D5 59 DB E2 E8 7F 09 F8 : ...Dx....Y......<br>[libssh2] 3.295411 SFTP: R=
equiring packet 2 id 0<br>[libssh2] 3.295411 SFTP: recv packet<br>[libssh2]=
 3.295411 Conn: channel_read() wants 4 bytes from channel 0/0 stream #0<br>=
[libssh2] 4.309413 SFTP: Requiring packet 2 id 0<br>[libssh2] 4.309413 SFTP=
: recv packet<br>[libssh2] 4.309413 Conn: channel_read() wants 4 bytes from=
 channel 0/0 stream #0<br>[libssh2] 5.323415 SFTP: Requiring packet 2 id 0<=
br>[libssh2] 5.323415 SFTP: recv packet<br>[libssh2] 5.323415 Conn: channel=
_read() wants 4 bytes from channel 0/0 stream #0<br>[libssh2] 6.337417 SFTP=
: Requiring packet 2 id 0<br>[libssh2] 6.337417 SFTP: recv packet<br>[libss=
h2] 6.337417 Conn: channel_read() wants 4 bytes from channel 0/0 stream #0<=
br>[libssh2] 7.351418 SFTP: Requiring packet 2 id 0<br>[libssh2] 7.351418 S=
FTP: recv packet<br>[libssh2] 7.351418 Conn: channel_read() wants 4 bytes f=
rom channel 0/0 stream #0<br>[libssh2] 8.365420 SFTP: Requiring packet 2 id=
 0<br>[libssh2] 8.365420 SFTP: recv packet<br>[libssh2] 8.365420 Conn: chan=
nel_read() wants 4 bytes from channel 0/0 stream #0<br>[libssh2] 9.379422 S=
FTP: Requiring packet 2 id 0<br>[libssh2] 9.379422 SFTP: recv packet<br>[li=
bssh2] 9.379422 Conn: channel_read() wants 4 bytes from channel 0/0 stream =
#0<br>[libssh2] 10.393424 SFTP: Requiring packet 2 id 0<br>[libssh2] 10.393=
424 SFTP: recv packet<br>[libssh2] 10.393424 Conn: channel_read() wants 4 b=
ytes from channel 0/0 stream #0<br></div><div><br></div><div><br></div><div=
>this where it takes 5 minutes ..... it is repeating ..... until 5 minutes =
.... any idea ? why ?</div></div><br><div class=3D"gmail_quote"><div dir=3D=
"ltr" class=3D"gmail_attr">On Tue, Jul 7, 2020 at 12:13 PM Micka &lt;<a hre=
f=3D"mailto:mickamusset@gmail.com">mickamusset@gmail.com</a>&gt; wrote:<br>=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b=
order-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Hi=
,<div><br></div><div>I&#39;m trying to send data to a server with openssh 7=
.9p1, but it&#39;s hanging somewhere.</div><div><br></div><div>the client s=
top at the line :</div><div>=C2=A0 Jul =C2=A07 11:52:16 TOTO sshd[19553]: d=
ebug3: channel 0: will not send data after close=C2=A0</div><div><br></div>=
<div>and after 5 minutes the client closes the connection, why ?=C2=A0<br><=
/div><div><br></div><div>This is the trace of the server openssh : ( DEBUG3=
 level)</div><div><br></div><div>Jul =C2=A07 11:52:15 TOTO sshd[31175]: deb=
ug3: fd 6 is not O_NONBLOCK<br>Jul =C2=A07 11:52:15 TOTO sshd[31175]: debug=
1: Forked child 19126.<br>Jul =C2=A07 11:52:15 TOTO sshd[31175]: debug3: se=
nd_rexec_state: entering fd =3D 9 config len 970<br>Jul =C2=A07 11:52:15 TO=
TO sshd[31175]: debug3: ssh_msg_send: type 0<br>Jul =C2=A07 11:52:15 TOTO s=
shd[31175]: debug3: send_rexec_state: done<br>Jul =C2=A07 11:52:15 TOTO ssh=
d[19126]: debug3: oom_adjust_restore<br>Jul =C2=A07 11:52:15 TOTO sshd[1912=
6]: debug1: Set /proc/self/oom_score_adj to 0<br>Jul =C2=A07 11:52:15 TOTO =
sshd[19126]: debug1: rexec start in 6 out 6 newsock 6 pipe 8 sock 9<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug1: inetd sockets after dupping: 5, =
5<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: Connection from 10.91.140.30 po=
rt 49822 on 10.91.141.1 port 22<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: d=
ebug1: Client protocol version 2.0; client software version libssh2_1.9.0_D=
EV<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: no match: libssh2_1.9.=
0_DEV<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: Local version strin=
g SSH-2.0-OpenSSH_7.9<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: fd =
5 setting O_NONBLOCK<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: ssh_=
sandbox_init: preparing seccomp filter sandbox<br>Jul =C2=A07 11:52:15 TOTO=
 sshd[19126]: debug2: Network child is on pid 19151<br>Jul =C2=A07 11:52:15=
 TOTO sshd[19126]: debug3: preauth child monitor started<br>Jul =C2=A07 11:=
52:15 TOTO sshd[19126]: debug3: privsep user:group 106:65534 [preauth]<br>J=
ul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: permanently_set_uid: 106/6553=
4 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: ssh_sandbox_c=
hild: setting PR_SET_NO_NEW_PRIVS [preauth]<br>Jul =C2=A07 11:52:15 TOTO ss=
hd[19126]: debug3: ssh_sandbox_child: attaching seccomp filter program [pre=
auth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: list_hostkey_types:=
 rsa-sha2-512,rsa-sha2-256,ssh-rsa [preauth]<br>Jul =C2=A07 11:52:15 TOTO s=
shd[19126]: debug3: send packet: type 20 [preauth]<br>Jul =C2=A07 11:52:15 =
TOTO sshd[19126]: debug1: SSH2_MSG_KEXINIT sent [preauth]<br>Jul =C2=A07 11=
:52:15 TOTO sshd[19126]: debug3: receive packet: type 20 [preauth]<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_KEXINIT received [preau=
th]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: local server KEXINIT =
proposal [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: KEX al=
gorithms: diffie-hellman-group-exchange-sha256 [preauth]<br>Jul =C2=A07 11:=
52:15 TOTO sshd[19126]: debug2: host key algorithms: rsa-sha2-512,rsa-sha2-=
256,ssh-rsa [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: cip=
hers ctos: aes256-ctr,aes192-ctr,aes128-ctr [preauth]<br>Jul =C2=A07 11:52:=
15 TOTO sshd[19126]: debug2: ciphers stoc: aes256-ctr,aes192-ctr,aes128-ctr=
 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: MACs ctos: hma=
c-sha2-512,hmac-sha2-256 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]=
: debug2: MACs stoc: hmac-sha2-512,hmac-sha2-256 [preauth]<br>Jul =C2=A07 1=
1:52:15 TOTO sshd[19126]: debug2: compression ctos: none [preauth]<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug2: compression stoc: none [preauth]=
<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: languages ctos: =C2=A0[p=
reauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: languages stoc: =
=C2=A0[preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: first_kex=
_follows 0 =C2=A0[preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2=
: reserved 0 =C2=A0[preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debu=
g2: peer client KEXINIT proposal [preauth]<br>Jul =C2=A07 11:52:15 TOTO ssh=
d[19126]: debug2: KEX algorithms: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecd=
h-sha2-nistp521,curve25519-sha256,<a href=3D"mailto:curve25519-sha256@libss=
h.org" target=3D"_blank">curve25519-sha256@libssh.org</a>,diffie-hellman-gr=
oup14-sha256,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exch=
ange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 [preauth]<=
br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: host key algorithms: ssh-=
rsa [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: ciphers cto=
s: aes128-ctr,aes192-ctr,aes256-ctr,aes256-cbc,<a href=3D"mailto:rijndael-c=
bc@lysator.liu.se" target=3D"_blank">rijndael-cbc@lysator.liu.se</a>,aes192=
-cbc,aes128-cbc,blowfish-cbc,arcfour128,arcfour,cast128-cbc,3des-cbc [preau=
th]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: ciphers stoc: aes128-=
ctr,aes192-ctr,aes256-ctr,aes256-cbc,<a href=3D"mailto:rijndael-cbc@lysator=
.liu.se" target=3D"_blank">rijndael-cbc@lysator.liu.se</a>,aes192-cbc,aes12=
8-cbc,blowfish-cbc,arcfour128,arcfour,cast128-cbc,3des-cbc [preauth]<br>Jul=
 =C2=A07 11:52:15 TOTO sshd[19126]: debug2: MACs ctos: hmac-sha2-256,hmac-s=
ha2-512,hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,<a href=
=3D"mailto:hmac-ripemd160@openssh.com" target=3D"_blank">hmac-ripemd160@ope=
nssh.com</a> [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: MA=
Cs stoc: hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96,hmac-md5,hmac-m=
d5-96,hmac-ripemd160,<a href=3D"mailto:hmac-ripemd160@openssh.com" target=
=3D"_blank">hmac-ripemd160@openssh.com</a> [preauth]<br>Jul =C2=A07 11:52:1=
5 TOTO sshd[19126]: debug2: compression ctos: none [preauth]<br>Jul =C2=A07=
 11:52:15 TOTO sshd[19126]: debug2: compression stoc: none [preauth]<br>Jul=
 =C2=A07 11:52:15 TOTO sshd[19126]: debug2: languages ctos: =C2=A0[preauth]=
<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: languages stoc: =C2=A0[p=
reauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: first_kex_follows=
 0 =C2=A0[preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: reserv=
ed 0 =C2=A0[preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: kex:=
 algorithm: diffie-hellman-group-exchange-sha256 [preauth]<br>Jul =C2=A07 1=
1:52:15 TOTO sshd[19126]: debug1: kex: host key algorithm: ssh-rsa [preauth=
]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: kex: client-&gt;server =
cipher: aes128-ctr MAC: hmac-sha2-256 compression: none [preauth]<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug1: kex: server-&gt;client cipher: a=
es128-ctr MAC: hmac-sha2-256 compression: none [preauth]<br>Jul =C2=A07 11:=
52:15 TOTO sshd[19126]: debug1: expecting SSH2_MSG_KEX_DH_GEX_REQUEST [prea=
uth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: receive packet: type=
 34 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_KE=
X_DH_GEX_REQUEST received [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126=
]: debug3: mm_request_send entering: type 0 [preauth]<br>Jul =C2=A07 11:52:=
15 TOTO sshd[19126]: debug3: mm_choose_dh: waiting for MONITOR_ANS_MODULI [=
preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_recei=
ve_expect entering: type 1 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[1912=
6]: debug3: mm_request_receive entering [preauth]<br>Jul =C2=A07 11:52:15 T=
OTO sshd[19126]: debug3: mm_request_receive entering<br>Jul =C2=A07 11:52:1=
5 TOTO sshd[19126]: debug3: monitor_read: checking request 0<br>Jul =C2=A07=
 11:52:15 TOTO sshd[19126]: debug3: mm_answer_moduli: got parameters: 2048 =
4096 8192<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_send=
 entering: type 1<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: monitor=
_read: 0 used once, disabling now<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]:=
 debug3: mm_choose_dh: remaining 0 [preauth]<br>Jul =C2=A07 11:52:15 TOTO s=
shd[19126]: debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent [preauth]<br>Jul =C2=A07=
 11:52:15 TOTO sshd[19126]: debug3: send packet: type 31 [preauth]<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug2: bits set: 1978/4096 [preauth]<br=
>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: expecting SSH2_MSG_KEX_DH_G=
EX_INIT [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: receive=
 packet: type 32 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2=
: bits set: 2017/4096 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: d=
ebug3: mm_sshkey_sign entering [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[=
19126]: debug3: mm_request_send entering: type 6 [preauth]<br>Jul =C2=A07 1=
1:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering<br>Jul =C2=A0=
7 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 6<br>Ju=
l =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_answer_sign<br>Jul =C2=A07 =
11:52:15 TOTO sshd[19126]: debug3: mm_answer_sign: hostkey proof signature =
0x80311540(271)<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_reques=
t_send entering: type 7<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: m=
onitor_read: 6 used once, disabling now<br>Jul =C2=A07 11:52:15 TOTO sshd[1=
9126]: debug3: mm_sshkey_sign: waiting for MONITOR_ANS_SIGN [preauth]<br>Ju=
l =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive_expect ente=
ring: type 7 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm=
_request_receive entering [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126=
]: debug3: send packet: type 33 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd=
[19126]: debug3: send packet: type 21 [preauth]<br>Jul =C2=A07 11:52:15 TOT=
O sshd[19126]: debug2: set_newkeys: mode 1 [preauth]<br>Jul =C2=A07 11:52:1=
5 TOTO sshd[19126]: debug1: rekey after 4294967296 blocks [preauth]<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_NEWKEYS sent [preauth]<=
br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: expecting SSH2_MSG_NEWKEY=
S [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: receive packe=
t: type 21 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: SSH2=
_MSG_NEWKEYS received [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: d=
ebug2: set_newkeys: mode 0 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[1912=
6]: debug1: rekey after 4294967296 blocks [preauth]<br>Jul =C2=A07 11:52:15=
 TOTO sshd[19126]: debug1: KEX done [preauth]<br>Jul =C2=A07 11:52:15 TOTO =
sshd[19126]: debug3: receive packet: type 5 [preauth]<br>Jul =C2=A07 11:52:=
15 TOTO sshd[19126]: debug3: send packet: type 6 [preauth]<br>Jul =C2=A07 1=
1:52:15 TOTO sshd[19126]: debug3: receive packet: type 50 [preauth]<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug1: userauth-request for user toto s=
ervice ssh-connection method none [preauth]<br>Jul =C2=A07 11:52:15 TOTO ss=
hd[19126]: debug1: attempt 0 failures 0 [preauth]<br>Jul =C2=A07 11:52:15 T=
OTO sshd[19126]: debug3: mm_getpwnamallow entering [preauth]<br>Jul =C2=A07=
 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 8 [preau=
th]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_getpwnamallow: wai=
ting for MONITOR_ANS_PWNAM [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[1912=
6]: debug3: mm_request_receive_expect entering: type 9 [preauth]<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering [preaut=
h]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive ent=
ering<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: monitor_read: check=
ing request 8<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_answer_p=
wnamallow<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: parse_server_co=
nfig: config reprocess config len 970<br>Jul =C2=A07 11:52:15 TOTO sshd[191=
26]: debug3: auth_shadow_acctexpired: today 18450 sp_expire -1 days left -1=
8451<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: account expiration d=
isabled<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_answer_pwnamal=
low: sending MONITOR_ANS_PWNAM: 1<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]:=
 debug3: mm_request_send entering: type 9<br>Jul =C2=A07 11:52:15 TOTO sshd=
[19126]: debug2: monitor_read: 8 used once, disabling now<br>Jul =C2=A07 11=
:52:15 TOTO sshd[19126]: debug2: input_userauth_request: setting up authctx=
t for toto [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_i=
nform_authserv entering [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]:=
 debug3: mm_request_send entering: type 4 [preauth]<br>Jul =C2=A07 11:52:15=
 TOTO sshd[19126]: debug3: mm_auth2_read_banner entering [preauth]<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 1=
0 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_re=
ceive_expect entering: type 11 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[=
19126]: debug3: mm_request_receive entering [preauth]<br>Jul =C2=A07 11:52:=
15 TOTO sshd[19126]: debug3: mm_request_receive entering<br>Jul =C2=A07 11:=
52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 4<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug3: mm_answer_authserv: service=3Dssh-c=
onnection, style=3D<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: monit=
or_read: 4 used once, disabling now<br>Jul =C2=A07 11:52:15 TOTO sshd[19126=
]: debug3: mm_request_receive entering<br>Jul =C2=A07 11:52:15 TOTO sshd[19=
126]: debug3: monitor_read: checking request 10<br>Jul =C2=A07 11:52:15 TOT=
O sshd[19126]: debug3: mm_request_send entering: type 11<br>Jul =C2=A07 11:=
52:15 TOTO sshd[19126]: debug2: monitor_read: 10 used once, disabling now<b=
r>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: send packet: type 53 [prea=
uth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: userauth_send_banner=
: sent [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: input_us=
erauth_request: try method none [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd=
[19126]: debug3: user_specific_delay: user specific delay 0.000ms [preauth]=
<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: ensure_minimum_time_sinc=
e: elapsed 73.257ms, delaying 64.508ms (requested 8.610ms) [preauth]<br>Jul=
 =C2=A07 11:52:15 TOTO sshd[19126]: debug3: userauth_finish: failure partia=
l=3D0 next methods=3D&quot;publickey&quot; [preauth]<br>Jul =C2=A07 11:52:1=
5 TOTO sshd[19126]: debug3: send packet: type 51 [preauth]<br>Jul =C2=A07 1=
1:52:15 TOTO sshd[19126]: debug3: receive packet: type 50 [preauth]<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug1: userauth-request for user toto s=
ervice ssh-connection method publickey [preauth]<br>Jul =C2=A07 11:52:15 TO=
TO sshd[19126]: debug1: attempt 1 failures 0 [preauth]<br>Jul =C2=A07 11:52=
:15 TOTO sshd[19126]: debug2: input_userauth_request: try method publickey =
[preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: userauth_pubkey=
: test pkalg ssh-rsa pkblob RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfN=
olAgbp4 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_key_=
allowed entering [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3=
: mm_request_send entering: type 22 [preauth]<br>Jul =C2=A07 11:52:15 TOTO =
sshd[19126]: debug3: mm_key_allowed: waiting for MONITOR_ANS_KEYALLOWED [pr=
eauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive=
_expect entering: type 23 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126=
]: debug3: mm_request_receive entering [preauth]<br>Jul =C2=A07 11:52:15 TO=
TO sshd[19126]: debug3: mm_request_receive entering<br>Jul =C2=A07 11:52:15=
 TOTO sshd[19126]: debug3: monitor_read: checking request 22<br>Jul =C2=A07=
 11:52:15 TOTO sshd[19126]: debug3: mm_answer_keyallowed entering<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_answer_keyallowed: key_from_b=
lob: 0x80306160<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: temporari=
ly_use_uid: 1001/1001 (e=3D0/0)<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: d=
ebug1: trying public key file /home/test.pub<br>Jul =C2=A07 11:52:15 TOTO s=
shd[19126]: debug1: fd 4 clearing O_NONBLOCK<br>Jul =C2=A07 11:52:15 TOTO s=
shd[19126]: debug1: /home/test.pub:1: matching key found: RSA SHA256:fVQ7eL=
1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4<br>Jul =C2=A07 11:52:15 TOTO sshd[191=
26]: debug1: /home/test.pub:1: key options: agent-forwarding port-forwardin=
g pty user-rc x11-forwarding<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: Acce=
pted key RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4 found at /h=
ome/test.pub:1<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: restore_ui=
d: 0/0<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_answer_keyallow=
ed: publickey authentication test: RSA key is allowed<br>Jul =C2=A07 11:52:=
15 TOTO sshd[19126]: debug3: mm_request_send entering: type 23<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19126]: debug3: send packet: type 60 [preauth]<br>J=
ul =C2=A07 11:52:16 TOTO sshd[19126]: debug2: userauth_pubkey: authenticate=
d 0 pkalg ssh-rsa [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug=
3: user_specific_delay: user specific delay 0.000ms [preauth]<br>Jul =C2=A0=
7 11:52:16 TOTO sshd[19126]: debug3: ensure_minimum_time_since: elapsed 10.=
037ms, delaying 7.184ms (requested 8.610ms) [preauth]<br>Jul =C2=A07 11:52:=
16 TOTO sshd[19126]: Postponed publickey for toto from 10.91.140.30 port 49=
822 ssh2 [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: receiv=
e packet: type 50 [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug=
1: userauth-request for user toto service ssh-connection method publickey [=
preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug1: attempt 2 failur=
es 0 [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug2: input_user=
auth_request: try method publickey [preauth]<br>Jul =C2=A07 11:52:16 TOTO s=
shd[19126]: debug3: userauth_pubkey: have ssh-rsa signature for RSA SHA256:=
fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4 [preauth]<br>Jul =C2=A07 11:52:=
16 TOTO sshd[19126]: debug3: mm_key_allowed entering [preauth]<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19126]: debug3: mm_request_send entering: type 22 [=
preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_key_allowed: =
waiting for MONITOR_ANS_KEYALLOWED [preauth]<br>Jul =C2=A07 11:52:16 TOTO s=
shd[19126]: debug3: mm_request_receive_expect entering: type 23 [preauth]<b=
r>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive enterin=
g [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_request_re=
ceive entering<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: monitor_re=
ad: checking request 22<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: m=
m_answer_keyallowed entering<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debu=
g3: mm_answer_keyallowed: key_from_blob: 0x80309fd0<br>Jul =C2=A07 11:52:16=
 TOTO sshd[19126]: debug1: temporarily_use_uid: 1001/1001 (e=3D0/0)<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19126]: debug1: trying public key file /home/tes=
t.pub<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug1: fd 4 clearing O_NON=
BLOCK<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug1: /home/test.pub:1: m=
atching key found: RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4<b=
r>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug1: /home/test.pub:1: key opti=
ons: agent-forwarding port-forwarding pty user-rc x11-forwarding<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19126]: Accepted key RSA SHA256:fVQ7eL1KeCgpq4/BSsn=
ou/pVnQv8mCouzqfNolAgbp4 found at /home/test.pub:1<br>Jul =C2=A07 11:52:16 =
TOTO sshd[19126]: debug1: restore_uid: 0/0<br>Jul =C2=A07 11:52:16 TOTO ssh=
d[19126]: debug3: mm_answer_keyallowed: publickey authentication: RSA key i=
s allowed<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_request_send=
 entering: type 23<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_ssh=
key_verify entering [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: deb=
ug3: mm_request_send entering: type 24 [preauth]<br>Jul =C2=A07 11:52:16 TO=
TO sshd[19126]: debug3: mm_sshkey_verify: waiting for MONITOR_ANS_KEYVERIFY=
 [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_request_rec=
eive_expect entering: type 25 [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[1=
9126]: debug3: mm_request_receive entering [preauth]<br>Jul =C2=A07 11:52:1=
6 TOTO sshd[19126]: debug3: mm_request_receive entering<br>Jul =C2=A07 11:5=
2:16 TOTO sshd[19126]: debug3: monitor_read: checking request 24<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19126]: debug3: mm_answer_keyverify: publickey 0x80=
309fd0 signature verified<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug1:=
 auth_activate_options: setting new authentication options<br>Jul =C2=A07 1=
1:52:16 TOTO sshd[19126]: debug3: mm_request_send entering: type 25<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19126]: Accepted publickey for toto from 10.91.1=
40.30 port 49822 ssh2: RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgb=
p4<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug1: monitor_child_preauth:=
 toto has been authenticated by privileged process<br>Jul =C2=A07 11:52:16 =
TOTO sshd[19126]: debug3: mm_get_keystate: Waiting for new keys<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive_expect entering:=
 type 26<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_request_recei=
ve entering<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_get_keysta=
te: GOT new keys<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug1: auth_act=
ivate_options: setting new authentication options [preauth]<br>Jul =C2=A07 =
11:52:16 TOTO sshd[19126]: debug2: userauth_pubkey: authenticated 1 pkalg s=
sh-rsa [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: user_spe=
cific_delay: user specific delay 0.000ms [preauth]<br>Jul =C2=A07 11:52:16 =
TOTO sshd[19126]: debug3: ensure_minimum_time_since: elapsed 12.239ms, dela=
ying 4.982ms (requested 8.610ms) [preauth]<br>Jul =C2=A07 11:52:16 TOTO ssh=
d[19126]: debug3: send packet: type 52 [preauth]<br>Jul =C2=A07 11:52:16 TO=
TO sshd[19126]: debug3: mm_request_send entering: type 26 [preauth]<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_send_keystate: Finished sendi=
ng state [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug1: monito=
r_read_log: child log fd closed<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: d=
ebug3: ssh_sandbox_parent_finish: finished<br>Jul =C2=A07 11:52:16 TOTO ssh=
d[19126]: User child is on pid 19553<br>Jul =C2=A07 11:52:16 TOTO sshd[1955=
3]: debug1: permanently_set_uid: 1001/1001<br>Jul =C2=A07 11:52:16 TOTO ssh=
d[19553]: debug3: monitor_apply_keystate: packet_set_state<br>Jul =C2=A07 1=
1:52:16 TOTO sshd[19553]: debug2: set_newkeys: mode 0<br>Jul =C2=A07 11:52:=
16 TOTO sshd[19553]: debug1: rekey after 4294967296 blocks<br>Jul =C2=A07 1=
1:52:16 TOTO sshd[19553]: debug2: set_newkeys: mode 1<br>Jul =C2=A07 11:52:=
16 TOTO sshd[19553]: debug1: rekey after 4294967296 blocks<br>Jul =C2=A07 1=
1:52:16 TOTO sshd[19553]: debug1: ssh_packet_set_postauth: called<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19553]: debug3: ssh_packet_set_state: done<br>Ju=
l =C2=A07 11:52:16 TOTO sshd[19553]: debug3: notify_hostkeys: key 0: ssh-rs=
a SHA256:vYlhpVfmXfMCmgD8vuI3qK7ppf3aRj8qhg3hj8OtJCI<br>Jul =C2=A07 11:52:1=
6 TOTO sshd[19553]: debug3: notify_hostkeys: sent 1 hostkeys<br>Jul =C2=A07=
 11:52:16 TOTO sshd[19553]: debug3: send packet: type 80<br>Jul =C2=A07 11:=
52:16 TOTO sshd[19553]: debug1: active: key options: agent-forwarding port-=
forwarding pty user-rc x11-forwarding<br>Jul =C2=A07 11:52:16 TOTO sshd[195=
53]: debug3: sending debug message: /home/test.pub:1: key options: agent-fo=
rwarding port-forwarding pty user-rc x11-forwarding<br>Jul =C2=A07 11:52:16=
 TOTO sshd[19553]: debug3: send packet: type 4<br>Jul =C2=A07 11:52:16 TOTO=
 sshd[19553]: debug3: sending debug message: /home/test.pub:1: key options:=
 agent-forwarding port-forwarding pty user-rc x11-forwarding<br>Jul =C2=A07=
 11:52:16 TOTO sshd[19553]: debug3: send packet: type 4<br>Jul =C2=A07 11:5=
2:16 TOTO sshd[19553]: debug1: Entering interactive session for SSH2.<br>Ju=
l =C2=A07 11:52:16 TOTO sshd[19553]: debug2: fd 7 setting O_NONBLOCK<br>Jul=
 =C2=A07 11:52:16 TOTO sshd[19553]: debug2: fd 9 setting O_NONBLOCK<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19553]: debug1: server_init_dispatch<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19553]: debug3: receive packet: type 90<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19553]: debug1: server_input_channel_open: ctype se=
ssion rchan 0 win 2097152 max 32768<br>Jul =C2=A07 11:52:16 TOTO sshd[19553=
]: debug1: input_session_request<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: =
debug1: channel 0: new [server-session]<br>Jul =C2=A07 11:52:16 TOTO sshd[1=
9553]: debug2: session_new: allocate (allocated 0 max 10)<br>Jul =C2=A07 11=
:52:16 TOTO sshd[19553]: debug3: session_unused: session id 0 unused<br>Jul=
 =C2=A07 11:52:16 TOTO sshd[19553]: debug1: session_new: session 0<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19553]: debug1: session_open: channel 0<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19553]: debug1: session_open: session 0: link wi=
th channel 0<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug1: server_input=
_channel_open: confirm session<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: de=
bug3: send packet: type 91<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug3=
: receive packet: type 98<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug1:=
 server_input_channel_req: channel 0 request subsystem reply 1<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19553]: debug1: session_by_channel: session 0 chann=
el 0<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug1: session_input_channe=
l_req: session 0 req subsystem<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: de=
bug2: subsystem request for sftp by user toto<br>Jul =C2=A07 11:52:16 TOTO =
sshd[19553]: debug1: subsystem: exec() /usr/lib/openssh/sftp-server -l DEBU=
G3<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: Starting session: subsystem &#=
39;sftp&#39; for toto from 10.91.140.30 port 49822 id 0<br>Jul =C2=A07 11:5=
2:16 TOTO sshd[19553]: debug2: fd 5 setting TCP_NODELAY<br>Jul =C2=A07 11:5=
2:16 TOTO sshd[19553]: debug3: ssh_packet_set_tos: set IP_TOS 0x20<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19553]: debug2: fd 12 setting O_NONBLOCK<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19553]: debug2: fd 11 setting O_NONBLOCK<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19553]: debug2: fd 14 setting O_NONBLOCK<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19553]: debug3: send packet: type 99<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: read 43 from efd 14<br>J=
ul =C2=A07 11:52:16 TOTO sshd[19553]: debug3: channel 0: discard efd<br>Jul=
 =C2=A07 11:52:16 TOTO sshd[19553]: debug1: Received SIGCHLD.<br>Jul =C2=A0=
7 11:52:16 TOTO sshd[19553]: debug1: session_by_pid: pid 19576<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19553]: debug1: session_exit_message: session 0 cha=
nnel 0 pid 19576<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel =
0: request exit-status confirm 0<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: =
debug3: send packet: type 98<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debu=
g1: session_exit_message: release channel 0<br>Jul =C2=A07 11:52:16 TOTO ss=
hd[19553]: debug2: channel 0: write failed<br>Jul =C2=A07 11:52:16 TOTO ssh=
d[19553]: debug2: channel 0: chan_shutdown_write (i0 o0 sock -1 wfd 11 efd =
14 [ignore])<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: s=
end eow<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: output=
 open -&gt; closed<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channe=
l 0: read&lt;=3D0 rfd 12 len 0<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: de=
bug2: channel 0: read failed<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debu=
g2: channel 0: chan_shutdown_read (i0 o3 sock -1 wfd 12 efd 14 [ignore])<br=
>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: input open -&gt;=
 drain<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: read 0 =
from efd 14<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: cl=
osing read-efd 14<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel=
 0: ibuf empty<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0:=
 send eof<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug3: send packet: ty=
pe 96<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: input dr=
ain -&gt; closed<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel =
0: send close<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug3: send packet=
: type 97<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: notify_done: re=
ading<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug3: channel 0: will not=
 send data after close<br>Jul =C2=A07 11:57:15 TOTO sshd[19553]: debug3: re=
ceive packet: type 1<br>Jul =C2=A07 11:57:15 TOTO sshd[19553]: Received dis=
connect from 10.91.140.30 port 49822:11: Shutdown<br>Jul =C2=A07 11:57:15 T=
OTO sshd[19553]: Disconnected from user toto 10.91.140.30 port 49822<br>Jul=
 =C2=A07 11:57:15 TOTO sshd[19553]: debug1: do_cleanup<br>Jul =C2=A07 11:57=
:15 TOTO sshd[19126]: debug3: mm_request_receive entering<br>Jul =C2=A07 11=
:57:15 TOTO sshd[19126]: debug1: do_cleanup<br></div></div>
</blockquote></div>

--000000000000a818aa05a9d842bb--

--===============0240068719==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No
Mi1kZXZlbAo=

--===============0240068719==--

From libssh2-devel-bounces@cool.haxx.se  Tue Jul  7 13:34:52 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 067BYjsI005190;
	Tue, 7 Jul 2020 13:34:50 +0200
Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com
 [IPv6:2607:f8b0:4864:20:0:0:0:22a])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 067BYe0H005129
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Tue, 7 Jul 2020 13:34:41 +0200
Received: by mail-oi1-x22a.google.com with SMTP id j11so31931114oiw.12
 for <libssh2-devel@cool.haxx.se>; Tue, 07 Jul 2020 04:34:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
 bh=rg+f1FuZOvzhnxZ2LH0+jibupaarTPvLg1spaakkQj8=;
 b=ceSx+C9qc/9rZrMnH0Fzc11PBLYqN4dyiTIKIJIb3+rocsWx/sQG3aFgUpFRug/OVh
 UmqnNMk3Z8ouhiFZq69w0fZmCqlovKOzwzN6wZbp+vLdI3gSKz+VwoDT60DghH2TOWmk
 gh4eoUmPid/OU6FFO3g0zKelFubyoSS2pao3wQxWn7kTtvaOb37s/3VbIQEMkwbFy4Ru
 zlxBCgeTSeGnzKJ9qziZ++5eT6VKCIjx8KvxmS0zLk6gvmBwkADMOwiBuMYeq5qL1ZK1
 vrKqIREpqXAvN1ievmpZeU2E463WALwIgE97b+EX9efWD9JSOENl+ry4/yP7YFrU+DUR
 e9Gg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=rg+f1FuZOvzhnxZ2LH0+jibupaarTPvLg1spaakkQj8=;
 b=oR9noGDiEtTfCgEAR2w9YbDP7aL0Pmfo6lVF8fXpIxU1vgAiovglE7UuiVVY/PAtV+
 xN9r0KeMq93mWDiDQVS+yJ3YgRbERUyfa1yJs/2Izu/pInu+ZgftUPRGV3b2c7nFTSSf
 tBEcvdV6rDB2mKuWWAPGgJycB9X+D7QGZ/IkxikOJ2lrQhWhhfM1FmxoXKDx3fgliOw6
 /8ObrDm5DLhfgCBg4W8m4NQpF//1XCgKbar16XrsxEN11TKwVhch31GQNzYAsWW8My4/
 BwDobNLvQTmQSKoAC/8ZxDmko5kvY5MjCVFcTMeS79UCa/2Jv2mHvUYxojBDmG/XTAgw
 LlJg==
X-Gm-Message-State: AOAM532BGxSutw/N6Ic62TOzFGnODDWhcyK3uyFOsSWKeAooULmazRRO
 5fvhH6FEQ3HO1cUTbLH/GyD/+bu/3KptO7knWcqDCokR
X-Google-Smtp-Source: ABdhPJw7eftn9jFglCY868BxrSN7woi4pg+wTLLEEWuU65ztlZtTXiDlFZbmIDKFvXbi+jQf06ZXlJxnjNlLtY3SsOo=
X-Received: by 2002:aca:72ca:: with SMTP id p193mr2773289oic.20.1594121675142; 
 Tue, 07 Jul 2020 04:34:35 -0700 (PDT)
MIME-Version: 1.0
References: <CAF+MRtmzRdaOwMKZuFkyZqPqSt0aqwp1NDjR0rmNhB4neVmvCg@mail.gmail.com>
 <CAF+MRt=0CHezmg-n5adNr-MUt-mKsBT2dy+Xhq6f5aMjvs4DQA@mail.gmail.com>
In-Reply-To: <CAF+MRt=0CHezmg-n5adNr-MUt-mKsBT2dy+Xhq6f5aMjvs4DQA@mail.gmail.com>
From: Micka <mickamusset@gmail.com>
Date: Tue, 7 Jul 2020 13:34:23 +0200
Message-ID: <CAF+MRt=y6LMPp5uKPDrrQcJYZ67GYz95bh48mYY_-2DmC8z2rQ@mail.gmail.com>
Subject: Re: libssh2 is hanging during a file transfert
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============1901588674=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============1901588674==
Content-Type: multipart/alternative; boundary="0000000000002cfc0705a9d86072"

--0000000000002cfc0705a9d86072
Content-Type: text/plain; charset="UTF-8"

If I'm not mistaken, the libssh2 is receiving:

Conn: Channel 0 received request type exit-status

but for some reason, the client doesn't close, it is waiting for 5 minutes,
because of :

[libssh2] 8.365420 Conn: channel_read() wants 4 bytes from channel 0/0
stream #0
[libssh2] 9.379422 SFTP: Requiring packet 2 id 0
[libssh2] 9.379422 SFTP: recv packet


why ?


On Tue, Jul 7, 2020 at 1:26 PM Micka <mickamusset@gmail.com> wrote:

> And this is the trace from the client libssh2 :
>
> [libssh2] 3.139411 Transport: Packet type 4 received, length=144
> [libssh2] 3.139411 Transport: Debug Packet: /home/test.pub:1: key options:
> agent-forwarding port-forwarding pty user-rc x11-forwarding
> [libssh2] 3.155011 Transport: Looking for packet of type: 91
> [libssh2] 3.155011 Transport: Looking for packet of type: 92
> [libssh2] 3.155011 Socket: Recved 64/16384 bytes to 005ECB18+0
> => libssh2_transport_read() raw (64 bytes)
> 0000: 64 B2 41 29 E9 3E 78 DD  04 3A 7B 8E 30 A8 B5 08 : d.A).>x..:{.0...
> 0010: E5 0B 49 5A 01 45 91 4C  53 E8 6F D1 E8 15 4D 95 : ..IZ.E.LS.o...M.
> 0020: DC 21 3F F8 BE C4 7C 42  A4 F6 4E 41 99 4C 23 41 : .!?...|B..NA.L#A
> 0030: 61 CD CE 38 1E 80 7E AB  06 B9 71 8C 13 54 0B 0E : a..8..~...q..T..
> => libssh2_transport_read() plain (17 bytes)
> 0000: 5B 00 00 00 00 00 00 00  00 00 00 00 00 00 00 80 : [...............
> 0010: 00                                               : .
> [libssh2] 3.170611 Transport: Packet type 91 received, length=17
> [libssh2] 3.170611 Transport: Looking for packet of type: 91
> [libssh2] 3.170611 Conn: Connection Established - ID: 0/0 win: 0/2097152
> pack: 32768/32768
> [libssh2] 3.170611 Conn: starting request(subsystem) on channel 0/0,
> message=sftp
> => libssh2_transport_write plain (23 bytes)
> 0000: 62 00 00 00 00 00 00 00  09 73 75 62 73 79 73 74 : b........subsyst
> 0010: 65 6D 01 00 00 00 04                             : em.....
> => libssh2_transport_write plain2 (4 bytes)
> 0000: 73 66 74 70                                      : sftp
> [libssh2] 3.170611 Socket: Sent 80/80 bytes at 005F0B40
> => libssh2_transport_write send() (80 bytes)
> 0000: 75 10 1C 00 39 49 6D A4  43 3A E1 E7 21 72 4F 85 : u...9Im.C:..!rO.
> 0010: 66 3A D6 B4 95 6A 6E B1  2B A1 3D F7 A1 1A 5E 28 : f:...jn.+.=...^(
> 0020: BC B3 10 41 34 7D 1B 71  30 AE 42 FD 7A E5 A7 36 : ...A4}.q0.B.z..6
> 0030: F7 CA 2D 6C F7 32 08 B5  79 AF 4B C6 5E C9 97 41 : ..-l.2..y.K.^..A
> 0040: 6B D0 80 6C 3B D4 C4 9A  92 47 AE 50 FE 2A 22 D9 : k..l;....G.P.*".
> [libssh2] 3.186211 Transport: Looking for packet of type: 99
> [libssh2] 3.186211 Transport: Looking for packet of type: 100
> [libssh2] 3.186211 Socket: Recved 112/16384 bytes to 005ECB18+0
> => libssh2_transport_read() raw (112 bytes)
> 0000: 6D 49 EC 6A E8 A3 E8 39  D5 E7 4F 44 1B 13 B1 D8 : mI.j...9..OD....
> 0010: D7 1B 99 71 A6 FE 71 6A  6C F3 B8 0C 7B 17 16 36 : ...q..qjl...{..6
> 0020: BA D9 D7 24 EF DB FB D6  4B C6 41 B2 97 81 7D 19 : ...$....K.A...}.
> 0030: 52 7A 07 BC EA 9D 49 7F  E5 01 1A 14 FA 36 02 A5 : Rz....I......6..
> 0040: 0F 94 62 5E B2 14 92 34  72 CE 00 DF C1 59 69 10 : ..b^...4r....Yi.
> 0050: FA 32 22 6E 5C BE F4 91  AC 8A 0B 9F 2A EE 2E 10 : .2"n\.......*...
> 0060: 70 91 94 6F AC F7 75 C6  C4 D5 F5 28 F3 50 9A B5 : p..o..u....(.P..
> => libssh2_transport_read() plain (9 bytes)
> 0000: 5D 00 00 00 00 00 20 00  00                      : ]..... ..
> [libssh2] 3.217411 Transport: Packet type 93 received, length=9
> [libssh2] 3.217411 Conn: Window adjust for channel 0/0, adding 2097152
> bytes, new window_size=2097152
> => libssh2_transport_read() plain (5 bytes)
> 0000: 63 00 00 00 00                                   : c....
> [libssh2] 3.217411 Transport: Packet type 99 received, length=5
> [libssh2] 3.217411 Transport: Looking for packet of type: 99
> [libssh2] 3.217411 Conn: Setting channel 0/0 handle_extended_data mode to 1
> [libssh2] 3.217411 SFTP: Sending FXP_INIT packet advertising version 3
> support
> [libssh2] 3.233011 Conn: Writing 9 bytes on channel 0/0, stream #0
> [libssh2] 3.233011 Socket: Recved 176/16384 bytes to 005ECB18+0
> => libssh2_transport_read() raw (176 bytes)
> 0000: BD EC E4 16 2F 05 A2 AD  03 E1 02 6D BB 99 A4 B7 : ..../......m....
> 0010: E5 C6 7E CD B1 F8 8E 58  C5 4A 31 F3 F7 D0 34 A0 : ..~....X.J1...4.
> 0020: AC 7C D9 DB BB DC C0 7E  53 87 DC 62 93 74 D1 21 : .|.....~S..b.t.!
> 0030: AC 8A 8C 8D F3 71 51 9F  99 4A F8 A7 61 71 F0 4F : .....qQ..J..aq.O
> 0040: 6E 83 2C 8C DE C1 84 B0  89 70 16 5F 17 DF 8C 63 : n.,......p._...c
> 0050: 65 C3 AE 19 F2 A4 95 14  52 1B E7 80 57 1B C1 50 : e.......R...W..P
> 0060: FC E4 85 F6 9A 5B C4 43  73 0A D9 CC D1 C6 41 8E : .....[.Cs.....A.
> 0070: BB 0E 1D A6 D5 C9 E3 74  E2 5A A1 B1 CF FA 14 AA : .......t.Z......
> 0080: AC E6 5F 18 16 53 6B D0  B6 4D F0 96 C6 77 55 2B : .._..Sk..M...wU+
> 0090: 58 6C 60 0F 95 57 CB 31  BB 37 A0 CF EC 29 34 25 : Xl`..W.1.7...)4%
> 00a0: F1 4A EB DF 95 11 1D 0C  8C 73 F4 8A A3 AC AB 70 : .J.......s.....p
> => libssh2_transport_read() plain (25 bytes)
> 0000: 62 00 00 00 00 00 00 00  0B 65 78 69 74 2D 73 74 : b........exit-st
> 0010: 61 74 75 73 00 00 00 00  01                      : atus.....
> [libssh2] 3.248611 Transport: Packet type 98 received, length=25
> [libssh2] 3.248611 Conn: Channel 0 received request type exit-status (wr 0)
> [libssh2] 3.264211 Conn: Exit status 1 received for channel 0/0
> => libssh2_transport_read() plain (5 bytes)
> 0000: 60 00 00 00 00                                   : `....
> [libssh2] 3.264211 Transport: Packet type 96 received, length=5
> [libssh2] 3.264211 Conn: EOF received for channel 0/0
> => libssh2_transport_read() plain (5 bytes)
> 0000: 61 00 00 00 00                                   : a....
> [libssh2] 3.264211 Transport: Packet type 97 received, length=5
> [libssh2] 3.279811 Conn: Close received for channel 0/0
> [libssh2] 3.279811 Conn: Sending 9 bytes on channel 0/0, stream_id=0
> => libssh2_transport_write plain (9 bytes)
> 0000: 5E 00 00 00 00 00 00 00  09                      : ^........
> => libssh2_transport_write plain2 (9 bytes)
> 0000: 00 00 00 05 01 00 00 00  03                      : .........
> [libssh2] 3.279811 Socket: Sent 64/64 bytes at 005F0B40
> => libssh2_transport_write send() (64 bytes)
> 0000: A4 39 BB 54 DD 45 BA 26  E7 E2 F2 79 7C 2D 9F 1A : .9.T.E.&...y|-..
> 0010: 29 AF 91 21 71 4A 13 4C  CB 7D 4C E5 22 61 FE AF : )..!qJ.L.}L."a..
> 0020: 14 6E 13 C8 89 2A 43 58  72 60 4B 43 20 FA D5 73 : .n...*CXr`KC ..s
> 0030: BB 80 95 44 78 D2 0B 1E  D5 59 DB E2 E8 7F 09 F8 : ...Dx....Y......
> [libssh2] 3.295411 SFTP: Requiring packet 2 id 0
> [libssh2] 3.295411 SFTP: recv packet
> [libssh2] 3.295411 Conn: channel_read() wants 4 bytes from channel 0/0
> stream #0
> [libssh2] 4.309413 SFTP: Requiring packet 2 id 0
> [libssh2] 4.309413 SFTP: recv packet
> [libssh2] 4.309413 Conn: channel_read() wants 4 bytes from channel 0/0
> stream #0
> [libssh2] 5.323415 SFTP: Requiring packet 2 id 0
> [libssh2] 5.323415 SFTP: recv packet
> [libssh2] 5.323415 Conn: channel_read() wants 4 bytes from channel 0/0
> stream #0
> [libssh2] 6.337417 SFTP: Requiring packet 2 id 0
> [libssh2] 6.337417 SFTP: recv packet
> [libssh2] 6.337417 Conn: channel_read() wants 4 bytes from channel 0/0
> stream #0
> [libssh2] 7.351418 SFTP: Requiring packet 2 id 0
> [libssh2] 7.351418 SFTP: recv packet
> [libssh2] 7.351418 Conn: channel_read() wants 4 bytes from channel 0/0
> stream #0
> [libssh2] 8.365420 SFTP: Requiring packet 2 id 0
> [libssh2] 8.365420 SFTP: recv packet
> [libssh2] 8.365420 Conn: channel_read() wants 4 bytes from channel 0/0
> stream #0
> [libssh2] 9.379422 SFTP: Requiring packet 2 id 0
> [libssh2] 9.379422 SFTP: recv packet
> [libssh2] 9.379422 Conn: channel_read() wants 4 bytes from channel 0/0
> stream #0
> [libssh2] 10.393424 SFTP: Requiring packet 2 id 0
> [libssh2] 10.393424 SFTP: recv packet
> [libssh2] 10.393424 Conn: channel_read() wants 4 bytes from channel 0/0
> stream #0
>
>
> this where it takes 5 minutes ..... it is repeating ..... until 5 minutes
> .... any idea ? why ?
>
> On Tue, Jul 7, 2020 at 12:13 PM Micka <mickamusset@gmail.com> wrote:
>
>> Hi,
>>
>> I'm trying to send data to a server with openssh 7.9p1, but it's hanging
>> somewhere.
>>
>> the client stop at the line :
>>   Jul  7 11:52:16 TOTO sshd[19553]: debug3: channel 0: will not send data
>> after close
>>
>> and after 5 minutes the client closes the connection, why ?
>>
>> This is the trace of the server openssh : ( DEBUG3 level)
>>
>> Jul  7 11:52:15 TOTO sshd[31175]: debug3: fd 6 is not O_NONBLOCK
>> Jul  7 11:52:15 TOTO sshd[31175]: debug1: Forked child 19126.
>> Jul  7 11:52:15 TOTO sshd[31175]: debug3: send_rexec_state: entering fd =
>> 9 config len 970
>> Jul  7 11:52:15 TOTO sshd[31175]: debug3: ssh_msg_send: type 0
>> Jul  7 11:52:15 TOTO sshd[31175]: debug3: send_rexec_state: done
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: oom_adjust_restore
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: Set /proc/self/oom_score_adj to
>> 0
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: rexec start in 6 out 6 newsock
>> 6 pipe 8 sock 9
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: inetd sockets after dupping: 5,
>> 5
>> Jul  7 11:52:15 TOTO sshd[19126]: Connection from 10.91.140.30 port 49822
>> on 10.91.141.1 port 22
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: Client protocol version 2.0;
>> client software version libssh2_1.9.0_DEV
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: no match: libssh2_1.9.0_DEV
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: Local version string
>> SSH-2.0-OpenSSH_7.9
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: fd 5 setting O_NONBLOCK
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: ssh_sandbox_init: preparing
>> seccomp filter sandbox
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: Network child is on pid 19151
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: preauth child monitor started
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: privsep user:group 106:65534
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: permanently_set_uid: 106/65534
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: ssh_sandbox_child: setting
>> PR_SET_NO_NEW_PRIVS [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: ssh_sandbox_child: attaching
>> seccomp filter program [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: list_hostkey_types:
>> rsa-sha2-512,rsa-sha2-256,ssh-rsa [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 20 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_KEXINIT sent [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 20
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_KEXINIT received
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: local server KEXINIT proposal
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: KEX algorithms:
>> diffie-hellman-group-exchange-sha256 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: host key algorithms:
>> rsa-sha2-512,rsa-sha2-256,ssh-rsa [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: ciphers ctos:
>> aes256-ctr,aes192-ctr,aes128-ctr [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: ciphers stoc:
>> aes256-ctr,aes192-ctr,aes128-ctr [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: MACs ctos:
>> hmac-sha2-512,hmac-sha2-256 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: MACs stoc:
>> hmac-sha2-512,hmac-sha2-256 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: compression ctos: none [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: compression stoc: none [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: languages ctos:  [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: languages stoc:  [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: first_kex_follows 0  [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: reserved 0  [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: peer client KEXINIT proposal
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: KEX algorithms:
>> ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,curve25519-sha256,
>> curve25519-sha256@libssh.org,diffie-hellman-group14-sha256,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: host key algorithms: ssh-rsa
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: ciphers ctos:
>> aes128-ctr,aes192-ctr,aes256-ctr,aes256-cbc,rijndael-cbc@lysator.liu.se,aes192-cbc,aes128-cbc,blowfish-cbc,arcfour128,arcfour,cast128-cbc,3des-cbc
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: ciphers stoc:
>> aes128-ctr,aes192-ctr,aes256-ctr,aes256-cbc,rijndael-cbc@lysator.liu.se,aes192-cbc,aes128-cbc,blowfish-cbc,arcfour128,arcfour,cast128-cbc,3des-cbc
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: MACs ctos:
>> hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,
>> hmac-ripemd160@openssh.com [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: MACs stoc:
>> hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,
>> hmac-ripemd160@openssh.com [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: compression ctos: none [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: compression stoc: none [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: languages ctos:  [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: languages stoc:  [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: first_kex_follows 0  [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: reserved 0  [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: kex: algorithm:
>> diffie-hellman-group-exchange-sha256 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: kex: host key algorithm:
>> ssh-rsa [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: kex: client->server cipher:
>> aes128-ctr MAC: hmac-sha2-256 compression: none [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: kex: server->client cipher:
>> aes128-ctr MAC: hmac-sha2-256 compression: none [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: expecting
>> SSH2_MSG_KEX_DH_GEX_REQUEST [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 34
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_KEX_DH_GEX_REQUEST
>> received [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type
>> 0 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_choose_dh: waiting for
>> MONITOR_ANS_MODULI [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive_expect
>> entering: type 1 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 0
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_moduli: got
>> parameters: 2048 4096 8192
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 1
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: monitor_read: 0 used once,
>> disabling now
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_choose_dh: remaining 0
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 31 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: bits set: 1978/4096 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: expecting
>> SSH2_MSG_KEX_DH_GEX_INIT [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 32
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: bits set: 2017/4096 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_sshkey_sign entering
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type
>> 6 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 6
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_sign
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_sign: hostkey proof
>> signature 0x80311540(271)
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 7
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: monitor_read: 6 used once,
>> disabling now
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_sshkey_sign: waiting for
>> MONITOR_ANS_SIGN [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive_expect
>> entering: type 7 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 33 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 21 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: set_newkeys: mode 1 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: rekey after 4294967296 blocks
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_NEWKEYS sent [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: expecting SSH2_MSG_NEWKEYS
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 21
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_NEWKEYS received
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: set_newkeys: mode 0 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: rekey after 4294967296 blocks
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: KEX done [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 5 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 6 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 50
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: userauth-request for user toto
>> service ssh-connection method none [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: attempt 0 failures 0 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_getpwnamallow entering
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type
>> 8 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_getpwnamallow: waiting for
>> MONITOR_ANS_PWNAM [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive_expect
>> entering: type 9 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 8
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_pwnamallow
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: parse_server_config: config
>> reprocess config len 970
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: auth_shadow_acctexpired: today
>> 18450 sp_expire -1 days left -18451
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: account expiration disabled
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_pwnamallow: sending
>> MONITOR_ANS_PWNAM: 1
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 9
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: monitor_read: 8 used once,
>> disabling now
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: input_userauth_request: setting
>> up authctxt for toto [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_inform_authserv entering
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type
>> 4 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_auth2_read_banner entering
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type
>> 10 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive_expect
>> entering: type 11 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 4
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_authserv:
>> service=ssh-connection, style=
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: monitor_read: 4 used once,
>> disabling now
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request
>> 10
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type
>> 11
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: monitor_read: 10 used once,
>> disabling now
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 53 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: userauth_send_banner: sent
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: input_userauth_request: try
>> method none [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: user_specific_delay: user
>> specific delay 0.000ms [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: ensure_minimum_time_since:
>> elapsed 73.257ms, delaying 64.508ms (requested 8.610ms) [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: userauth_finish: failure
>> partial=0 next methods="publickey" [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: send packet: type 51 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 50
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: userauth-request for user toto
>> service ssh-connection method publickey [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: attempt 1 failures 0 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug2: input_userauth_request: try
>> method publickey [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: userauth_pubkey: test pkalg
>> ssh-rsa pkblob RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_key_allowed entering
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type
>> 22 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_key_allowed: waiting for
>> MONITOR_ANS_KEYALLOWED [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive_expect
>> entering: type 23 [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
>> [preauth]
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive entering
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request
>> 22
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_keyallowed entering
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_keyallowed:
>> key_from_blob: 0x80306160
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: temporarily_use_uid: 1001/1001
>> (e=0/0)
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: trying public key file
>> /home/test.pub
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: fd 4 clearing O_NONBLOCK
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: /home/test.pub:1: matching key
>> found: RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: /home/test.pub:1: key options:
>> agent-forwarding port-forwarding pty user-rc x11-forwarding
>> Jul  7 11:52:15 TOTO sshd[19126]: Accepted key RSA
>> SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4 found at /home/test.pub:1
>> Jul  7 11:52:15 TOTO sshd[19126]: debug1: restore_uid: 0/0
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_answer_keyallowed: publickey
>> authentication test: RSA key is allowed
>> Jul  7 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type
>> 23
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: send packet: type 60 [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug2: userauth_pubkey: authenticated
>> 0 pkalg ssh-rsa [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: user_specific_delay: user
>> specific delay 0.000ms [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: ensure_minimum_time_since:
>> elapsed 10.037ms, delaying 7.184ms (requested 8.610ms) [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: Postponed publickey for toto from
>> 10.91.140.30 port 49822 ssh2 [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: receive packet: type 50
>> [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug1: userauth-request for user toto
>> service ssh-connection method publickey [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug1: attempt 2 failures 0 [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug2: input_userauth_request: try
>> method publickey [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: userauth_pubkey: have ssh-rsa
>> signature for RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4
>> [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_key_allowed entering
>> [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_send entering: type
>> 22 [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_key_allowed: waiting for
>> MONITOR_ANS_KEYALLOWED [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive_expect
>> entering: type 23 [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive entering
>> [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive entering
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: monitor_read: checking request
>> 22
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_answer_keyallowed entering
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_answer_keyallowed:
>> key_from_blob: 0x80309fd0
>> Jul  7 11:52:16 TOTO sshd[19126]: debug1: temporarily_use_uid: 1001/1001
>> (e=0/0)
>> Jul  7 11:52:16 TOTO sshd[19126]: debug1: trying public key file
>> /home/test.pub
>> Jul  7 11:52:16 TOTO sshd[19126]: debug1: fd 4 clearing O_NONBLOCK
>> Jul  7 11:52:16 TOTO sshd[19126]: debug1: /home/test.pub:1: matching key
>> found: RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4
>> Jul  7 11:52:16 TOTO sshd[19126]: debug1: /home/test.pub:1: key options:
>> agent-forwarding port-forwarding pty user-rc x11-forwarding
>> Jul  7 11:52:16 TOTO sshd[19126]: Accepted key RSA
>> SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4 found at /home/test.pub:1
>> Jul  7 11:52:16 TOTO sshd[19126]: debug1: restore_uid: 0/0
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_answer_keyallowed: publickey
>> authentication: RSA key is allowed
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_send entering: type
>> 23
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_sshkey_verify entering
>> [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_send entering: type
>> 24 [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_sshkey_verify: waiting for
>> MONITOR_ANS_KEYVERIFY [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive_expect
>> entering: type 25 [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive entering
>> [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive entering
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: monitor_read: checking request
>> 24
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_answer_keyverify: publickey
>> 0x80309fd0 signature verified
>> Jul  7 11:52:16 TOTO sshd[19126]: debug1: auth_activate_options: setting
>> new authentication options
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_send entering: type
>> 25
>> Jul  7 11:52:16 TOTO sshd[19126]: Accepted publickey for toto from
>> 10.91.140.30 port 49822 ssh2: RSA
>> SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4
>> Jul  7 11:52:16 TOTO sshd[19126]: debug1: monitor_child_preauth: toto has
>> been authenticated by privileged process
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_get_keystate: Waiting for
>> new keys
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive_expect
>> entering: type 26
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive entering
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_get_keystate: GOT new keys
>> Jul  7 11:52:16 TOTO sshd[19126]: debug1: auth_activate_options: setting
>> new authentication options [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug2: userauth_pubkey: authenticated
>> 1 pkalg ssh-rsa [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: user_specific_delay: user
>> specific delay 0.000ms [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: ensure_minimum_time_since:
>> elapsed 12.239ms, delaying 4.982ms (requested 8.610ms) [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: send packet: type 52 [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_request_send entering: type
>> 26 [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: mm_send_keystate: Finished
>> sending state [preauth]
>> Jul  7 11:52:16 TOTO sshd[19126]: debug1: monitor_read_log: child log fd
>> closed
>> Jul  7 11:52:16 TOTO sshd[19126]: debug3: ssh_sandbox_parent_finish:
>> finished
>> Jul  7 11:52:16 TOTO sshd[19126]: User child is on pid 19553
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: permanently_set_uid: 1001/1001
>> Jul  7 11:52:16 TOTO sshd[19553]: debug3: monitor_apply_keystate:
>> packet_set_state
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: set_newkeys: mode 0
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: rekey after 4294967296 blocks
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: set_newkeys: mode 1
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: rekey after 4294967296 blocks
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: ssh_packet_set_postauth: called
>> Jul  7 11:52:16 TOTO sshd[19553]: debug3: ssh_packet_set_state: done
>> Jul  7 11:52:16 TOTO sshd[19553]: debug3: notify_hostkeys: key 0: ssh-rsa
>> SHA256:vYlhpVfmXfMCmgD8vuI3qK7ppf3aRj8qhg3hj8OtJCI
>> Jul  7 11:52:16 TOTO sshd[19553]: debug3: notify_hostkeys: sent 1 hostkeys
>> Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 80
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: active: key options:
>> agent-forwarding port-forwarding pty user-rc x11-forwarding
>> Jul  7 11:52:16 TOTO sshd[19553]: debug3: sending debug message:
>> /home/test.pub:1: key options: agent-forwarding port-forwarding pty user-rc
>> x11-forwarding
>> Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 4
>> Jul  7 11:52:16 TOTO sshd[19553]: debug3: sending debug message:
>> /home/test.pub:1: key options: agent-forwarding port-forwarding pty user-rc
>> x11-forwarding
>> Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 4
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: Entering interactive session
>> for SSH2.
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: fd 7 setting O_NONBLOCK
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: fd 9 setting O_NONBLOCK
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: server_init_dispatch
>> Jul  7 11:52:16 TOTO sshd[19553]: debug3: receive packet: type 90
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: server_input_channel_open:
>> ctype session rchan 0 win 2097152 max 32768
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: input_session_request
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: channel 0: new [server-session]
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: session_new: allocate
>> (allocated 0 max 10)
>> Jul  7 11:52:16 TOTO sshd[19553]: debug3: session_unused: session id 0
>> unused
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_new: session 0
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_open: channel 0
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_open: session 0: link
>> with channel 0
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: server_input_channel_open:
>> confirm session
>> Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 91
>> Jul  7 11:52:16 TOTO sshd[19553]: debug3: receive packet: type 98
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: server_input_channel_req:
>> channel 0 request subsystem reply 1
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_by_channel: session 0
>> channel 0
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_input_channel_req:
>> session 0 req subsystem
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: subsystem request for sftp by
>> user toto
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: subsystem: exec()
>> /usr/lib/openssh/sftp-server -l DEBUG3
>> Jul  7 11:52:16 TOTO sshd[19553]: Starting session: subsystem 'sftp' for
>> toto from 10.91.140.30 port 49822 id 0
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: fd 5 setting TCP_NODELAY
>> Jul  7 11:52:16 TOTO sshd[19553]: debug3: ssh_packet_set_tos: set IP_TOS
>> 0x20
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: fd 12 setting O_NONBLOCK
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: fd 11 setting O_NONBLOCK
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: fd 14 setting O_NONBLOCK
>> Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 99
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: read 43 from efd 14
>> Jul  7 11:52:16 TOTO sshd[19553]: debug3: channel 0: discard efd
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: Received SIGCHLD.
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_by_pid: pid 19576
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_exit_message: session 0
>> channel 0 pid 19576
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: request exit-status
>> confirm 0
>> Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 98
>> Jul  7 11:52:16 TOTO sshd[19553]: debug1: session_exit_message: release
>> channel 0
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: write failed
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: chan_shutdown_write
>> (i0 o0 sock -1 wfd 11 efd 14 [ignore])
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: send eow
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: output open -> closed
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: read<=0 rfd 12 len 0
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: read failed
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: chan_shutdown_read
>> (i0 o3 sock -1 wfd 12 efd 14 [ignore])
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: input open -> drain
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: read 0 from efd 14
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: closing read-efd 14
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: ibuf empty
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: send eof
>> Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 96
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: input drain -> closed
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: channel 0: send close
>> Jul  7 11:52:16 TOTO sshd[19553]: debug3: send packet: type 97
>> Jul  7 11:52:16 TOTO sshd[19553]: debug2: notify_done: reading
>> Jul  7 11:52:16 TOTO sshd[19553]: debug3: channel 0: will not send data
>> after close
>> Jul  7 11:57:15 TOTO sshd[19553]: debug3: receive packet: type 1
>> Jul  7 11:57:15 TOTO sshd[19553]: Received disconnect from 10.91.140.30
>> port 49822:11: Shutdown
>> Jul  7 11:57:15 TOTO sshd[19553]: Disconnected from user toto
>> 10.91.140.30 port 49822
>> Jul  7 11:57:15 TOTO sshd[19553]: debug1: do_cleanup
>> Jul  7 11:57:15 TOTO sshd[19126]: debug3: mm_request_receive entering
>> Jul  7 11:57:15 TOTO sshd[19126]: debug1: do_cleanup
>>
>

--0000000000002cfc0705a9d86072
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">If I&#39;m not=C2=A0mistaken, the libssh2 is receiving:<di=
v><br></div><div>Conn: Channel 0 received request type exit-status<br></div=
><div><br></div><div>but for some reason, the client doesn&#39;t close, it =
is waiting for 5 minutes, because of :</div><blockquote style=3D"margin:0 0=
 0 40px;border:none;padding:0px"><div>[libssh2] 8.365420 Conn: channel_read=
() wants 4 bytes from channel 0/0 stream #0</div><div>[libssh2] 9.379422 SF=
TP: Requiring packet 2 id 0</div><div>[libssh2] 9.379422 SFTP: recv packet=
=C2=A0=C2=A0</div></blockquote><div><br></div><div>why ?</div><div><br></di=
v></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr=
">On Tue, Jul 7, 2020 at 1:26 PM Micka &lt;<a href=3D"mailto:mickamusset@gm=
ail.com">mickamusset@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D=
"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2=
04,204,204);padding-left:1ex"><div dir=3D"ltr">And this is the trace from t=
he client libssh2 :<div><br></div><div>[libssh2] 3.139411 Transport: Packet=
 type 4 received, length=3D144<br>[libssh2] 3.139411 Transport: Debug Packe=
t: /home/test.pub:1: key options: agent-forwarding port-forwarding pty user=
-rc x11-forwarding<br>[libssh2] 3.155011 Transport: Looking for packet of t=
ype: 91<br>[libssh2] 3.155011 Transport: Looking for packet of type: 92<br>=
[libssh2] 3.155011 Socket: Recved 64/16384 bytes to 005ECB18+0<br>=3D&gt; l=
ibssh2_transport_read() raw (64 bytes)<br>0000: 64 B2 41 29 E9 3E 78 DD =C2=
=A004 3A 7B 8E 30 A8 B5 08 : d.A).&gt;x..:{.0...<br>0010: E5 0B 49 5A 01 45=
 91 4C =C2=A053 E8 6F D1 E8 15 4D 95 : ..IZ.E.LS.o...M.<br>0020: DC 21 3F F=
8 BE C4 7C 42 =C2=A0A4 F6 4E 41 99 4C 23 41 : .!?...|B..NA.L#A<br>0030: 61 =
CD CE 38 1E 80 7E AB =C2=A006 B9 71 8C 13 54 0B 0E : a..8..~...q..T..<br>=
=3D&gt; libssh2_transport_read() plain (17 bytes)<br>0000: 5B 00 00 00 00 0=
0 00 00 =C2=A000 00 00 00 00 00 00 80 : [...............<br>0010: 00 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 : .<br>[libssh2] 3.170611 Transport: Packet type 91 received, length=
=3D17<br>[libssh2] 3.170611 Transport: Looking for packet of type: 91<br>[l=
ibssh2] 3.170611 Conn: Connection Established - ID: 0/0 win: 0/2097152 pack=
: 32768/32768<br>[libssh2] 3.170611 Conn: starting request(subsystem) on ch=
annel 0/0, message=3Dsftp<br>=3D&gt; libssh2_transport_write plain (23 byte=
s)<br>0000: 62 00 00 00 00 00 00 00 =C2=A009 73 75 62 73 79 73 74 : b......=
..subsyst<br>0010: 65 6D 01 00 00 00 04 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : em.....<br=
>=3D&gt; libssh2_transport_write plain2 (4 bytes)<br>0000: 73 66 74 70 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: sftp<br>[libssh2] =
3.170611 Socket: Sent 80/80 bytes at 005F0B40<br>=3D&gt; libssh2_transport_=
write send() (80 bytes)<br>0000: 75 10 1C 00 39 49 6D A4 =C2=A043 3A E1 E7 =
21 72 4F 85 : u...9Im.C:..!rO.<br>0010: 66 3A D6 B4 95 6A 6E B1 =C2=A02B A1=
 3D F7 A1 1A 5E 28 : f:...jn.+.=3D...^(<br>0020: BC B3 10 41 34 7D 1B 71 =
=C2=A030 AE 42 FD 7A E5 A7 36 : ...A4}.q0.B.z..6<br>0030: F7 CA 2D 6C F7 32=
 08 B5 =C2=A079 AF 4B C6 5E C9 97 41 : ..-l.2..y.K.^..A<br>0040: 6B D0 80 6=
C 3B D4 C4 9A =C2=A092 47 AE 50 FE 2A 22 D9 : k..l;....G.P.*&quot;.<br>[lib=
ssh2] 3.186211 Transport: Looking for packet of type: 99<br>[libssh2] 3.186=
211 Transport: Looking for packet of type: 100<br>[libssh2] 3.186211 Socket=
: Recved 112/16384 bytes to 005ECB18+0<br>=3D&gt; libssh2_transport_read() =
raw (112 bytes)<br>0000: 6D 49 EC 6A E8 A3 E8 39 =C2=A0D5 E7 4F 44 1B 13 B1=
 D8 : mI.j...9..OD....<br>0010: D7 1B 99 71 A6 FE 71 6A =C2=A06C F3 B8 0C 7=
B 17 16 36 : ...q..qjl...{..6<br>0020: BA D9 D7 24 EF DB FB D6 =C2=A04B C6 =
41 B2 97 81 7D 19 : ...$....K.A...}.<br>0030: 52 7A 07 BC EA 9D 49 7F =C2=
=A0E5 01 1A 14 FA 36 02 A5 : Rz....I......6..<br>0040: 0F 94 62 5E B2 14 92=
 34 =C2=A072 CE 00 DF C1 59 69 10 : ..b^...4r....Yi.<br>0050: FA 32 22 6E 5=
C BE F4 91 =C2=A0AC 8A 0B 9F 2A EE 2E 10 : .2&quot;n\.......*...<br>0060: 7=
0 91 94 6F AC F7 75 C6 =C2=A0C4 D5 F5 28 F3 50 9A B5 : p..o..u....(.P..<br>=
=3D&gt; libssh2_transport_read() plain (9 bytes)<br>0000: 5D 00 00 00 00 00=
 20 00 =C2=A000 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0: ]..... ..<br>[libssh2] 3.217411 Transport: Packet type 9=
3 received, length=3D9<br>[libssh2] 3.217411 Conn: Window adjust for channe=
l 0/0, adding 2097152 bytes, new window_size=3D2097152<br>=3D&gt; libssh2_t=
ransport_read() plain (5 bytes)<br>0000: 63 00 00 00 00 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 : c....<br>[libssh2] 3.217411 Transport: Packet=
 type 99 received, length=3D5<br>[libssh2] 3.217411 Transport: Looking for =
packet of type: 99<br>[libssh2] 3.217411 Conn: Setting channel 0/0 handle_e=
xtended_data mode to 1<br>[libssh2] 3.217411 SFTP: Sending FXP_INIT packet =
advertising version 3 support<br>[libssh2] 3.233011 Conn: Writing 9 bytes o=
n channel 0/0, stream #0<br>[libssh2] 3.233011 Socket: Recved 176/16384 byt=
es to 005ECB18+0<br>=3D&gt; libssh2_transport_read() raw (176 bytes)<br>000=
0: BD EC E4 16 2F 05 A2 AD =C2=A003 E1 02 6D BB 99 A4 B7 : ..../......m....=
<br>0010: E5 C6 7E CD B1 F8 8E 58 =C2=A0C5 4A 31 F3 F7 D0 34 A0 : ..~....X.=
J1...4.<br>0020: AC 7C D9 DB BB DC C0 7E =C2=A053 87 DC 62 93 74 D1 21 : .|=
.....~S..b.t.!<br>0030: AC 8A 8C 8D F3 71 51 9F =C2=A099 4A F8 A7 61 71 F0 =
4F : .....qQ..J..aq.O<br>0040: 6E 83 2C 8C DE C1 84 B0 =C2=A089 70 16 5F 17=
 DF 8C 63 : n.,......p._...c<br>0050: 65 C3 AE 19 F2 A4 95 14 =C2=A052 1B E=
7 80 57 1B C1 50 : e.......R...W..P<br>0060: FC E4 85 F6 9A 5B C4 43 =C2=A0=
73 0A D9 CC D1 C6 41 8E : .....[.Cs.....A.<br>0070: BB 0E 1D A6 D5 C9 E3 74=
 =C2=A0E2 5A A1 B1 CF FA 14 AA : .......t.Z......<br>0080: AC E6 5F 18 16 5=
3 6B D0 =C2=A0B6 4D F0 96 C6 77 55 2B : .._..Sk..M...wU+<br>0090: 58 6C 60 =
0F 95 57 CB 31 =C2=A0BB 37 A0 CF EC 29 34 25 : Xl`..W.1.7...)4%<br>00a0: F1=
 4A EB DF 95 11 1D 0C =C2=A08C 73 F4 8A A3 AC AB 70 : .J.......s.....p<br>=
=3D&gt; libssh2_transport_read() plain (25 bytes)<br>0000: 62 00 00 00 00 0=
0 00 00 =C2=A00B 65 78 69 74 2D 73 74 : b........exit-st<br>0010: 61 74 75 =
73 00 00 00 00 =C2=A001 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0: atus.....<br>[libssh2] 3.248611 Transport: Pac=
ket type 98 received, length=3D25<br>[libssh2] 3.248611 Conn: Channel 0 rec=
eived request type exit-status (wr 0)<br>[libssh2] 3.264211 Conn: Exit stat=
us 1 received for channel 0/0<br>=3D&gt; libssh2_transport_read() plain (5 =
bytes)<br>0000: 60 00 00 00 00 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 : `....<br>[libssh2] 3.264211 Transport: Packet type 96 received, lengt=
h=3D5<br>[libssh2] 3.264211 Conn: EOF received for channel 0/0<br>=3D&gt; l=
ibssh2_transport_read() plain (5 bytes)<br>0000: 61 00 00 00 00 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : a....<br>[libssh2] 3.264211 Transport:=
 Packet type 97 received, length=3D5<br>[libssh2] 3.279811 Conn: Close rece=
ived for channel 0/0<br>[libssh2] 3.279811 Conn: Sending 9 bytes on channel=
 0/0, stream_id=3D0<br>=3D&gt; libssh2_transport_write plain (9 bytes)<br>0=
000: 5E 00 00 00 00 00 00 00 =C2=A009 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: ^........<br>=3D&gt; libssh2_tra=
nsport_write plain2 (9 bytes)<br>0000: 00 00 00 05 01 00 00 00 =C2=A003 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: =
.........<br>[libssh2] 3.279811 Socket: Sent 64/64 bytes at 005F0B40<br>=3D=
&gt; libssh2_transport_write send() (64 bytes)<br>0000: A4 39 BB 54 DD 45 B=
A 26 =C2=A0E7 E2 F2 79 7C 2D 9F 1A : .9.T.E.&amp;...y|-..<br>0010: 29 AF 91=
 21 71 4A 13 4C =C2=A0CB 7D 4C E5 22 61 FE AF : )..!qJ.L.}L.&quot;a..<br>00=
20: 14 6E 13 C8 89 2A 43 58 =C2=A072 60 4B 43 20 FA D5 73 : .n...*CXr`KC ..=
s<br>0030: BB 80 95 44 78 D2 0B 1E =C2=A0D5 59 DB E2 E8 7F 09 F8 : ...Dx...=
.Y......<br>[libssh2] 3.295411 SFTP: Requiring packet 2 id 0<br>[libssh2] 3=
.295411 SFTP: recv packet<br>[libssh2] 3.295411 Conn: channel_read() wants =
4 bytes from channel 0/0 stream #0<br>[libssh2] 4.309413 SFTP: Requiring pa=
cket 2 id 0<br>[libssh2] 4.309413 SFTP: recv packet<br>[libssh2] 4.309413 C=
onn: channel_read() wants 4 bytes from channel 0/0 stream #0<br>[libssh2] 5=
.323415 SFTP: Requiring packet 2 id 0<br>[libssh2] 5.323415 SFTP: recv pack=
et<br>[libssh2] 5.323415 Conn: channel_read() wants 4 bytes from channel 0/=
0 stream #0<br>[libssh2] 6.337417 SFTP: Requiring packet 2 id 0<br>[libssh2=
] 6.337417 SFTP: recv packet<br>[libssh2] 6.337417 Conn: channel_read() wan=
ts 4 bytes from channel 0/0 stream #0<br>[libssh2] 7.351418 SFTP: Requiring=
 packet 2 id 0<br>[libssh2] 7.351418 SFTP: recv packet<br>[libssh2] 7.35141=
8 Conn: channel_read() wants 4 bytes from channel 0/0 stream #0<br>[libssh2=
] 8.365420 SFTP: Requiring packet 2 id 0<br>[libssh2] 8.365420 SFTP: recv p=
acket<br>[libssh2] 8.365420 Conn: channel_read() wants 4 bytes from channel=
 0/0 stream #0<br>[libssh2] 9.379422 SFTP: Requiring packet 2 id 0<br>[libs=
sh2] 9.379422 SFTP: recv packet<br>[libssh2] 9.379422 Conn: channel_read() =
wants 4 bytes from channel 0/0 stream #0<br>[libssh2] 10.393424 SFTP: Requi=
ring packet 2 id 0<br>[libssh2] 10.393424 SFTP: recv packet<br>[libssh2] 10=
.393424 Conn: channel_read() wants 4 bytes from channel 0/0 stream #0<br></=
div><div><br></div><div><br></div><div>this where it takes 5 minutes ..... =
it is repeating ..... until 5 minutes .... any idea ? why ?</div></div><br>=
<div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Ju=
l 7, 2020 at 12:13 PM Micka &lt;<a href=3D"mailto:mickamusset@gmail.com" ta=
rget=3D"_blank">mickamusset@gmail.com</a>&gt; wrote:<br></div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli=
d rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Hi,<div><br></div><di=
v>I&#39;m trying to send data to a server with openssh 7.9p1, but it&#39;s =
hanging somewhere.</div><div><br></div><div>the client stop at the line :</=
div><div>=C2=A0 Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug3: channel 0: w=
ill not send data after close=C2=A0</div><div><br></div><div>and after 5 mi=
nutes the client closes the connection, why ?=C2=A0<br></div><div><br></div=
><div>This is the trace of the server openssh : ( DEBUG3 level)</div><div><=
br></div><div>Jul =C2=A07 11:52:15 TOTO sshd[31175]: debug3: fd 6 is not O_=
NONBLOCK<br>Jul =C2=A07 11:52:15 TOTO sshd[31175]: debug1: Forked child 191=
26.<br>Jul =C2=A07 11:52:15 TOTO sshd[31175]: debug3: send_rexec_state: ent=
ering fd =3D 9 config len 970<br>Jul =C2=A07 11:52:15 TOTO sshd[31175]: deb=
ug3: ssh_msg_send: type 0<br>Jul =C2=A07 11:52:15 TOTO sshd[31175]: debug3:=
 send_rexec_state: done<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: o=
om_adjust_restore<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: Set /pr=
oc/self/oom_score_adj to 0<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1=
: rexec start in 6 out 6 newsock 6 pipe 8 sock 9<br>Jul =C2=A07 11:52:15 TO=
TO sshd[19126]: debug1: inetd sockets after dupping: 5, 5<br>Jul =C2=A07 11=
:52:15 TOTO sshd[19126]: Connection from 10.91.140.30 port 49822 on 10.91.1=
41.1 port 22<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: Client proto=
col version 2.0; client software version libssh2_1.9.0_DEV<br>Jul =C2=A07 1=
1:52:15 TOTO sshd[19126]: debug1: no match: libssh2_1.9.0_DEV<br>Jul =C2=A0=
7 11:52:15 TOTO sshd[19126]: debug1: Local version string SSH-2.0-OpenSSH_7=
.9<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: fd 5 setting O_NONBLOC=
K<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: ssh_sandbox_init: prepa=
ring seccomp filter sandbox<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug=
2: Network child is on pid 19151<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: =
debug3: preauth child monitor started<br>Jul =C2=A07 11:52:15 TOTO sshd[191=
26]: debug3: privsep user:group 106:65534 [preauth]<br>Jul =C2=A07 11:52:15=
 TOTO sshd[19126]: debug1: permanently_set_uid: 106/65534 [preauth]<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug3: ssh_sandbox_child: setting PR_SE=
T_NO_NEW_PRIVS [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: =
ssh_sandbox_child: attaching seccomp filter program [preauth]<br>Jul =C2=A0=
7 11:52:15 TOTO sshd[19126]: debug1: list_hostkey_types: rsa-sha2-512,rsa-s=
ha2-256,ssh-rsa [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3:=
 send packet: type 20 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: d=
ebug1: SSH2_MSG_KEXINIT sent [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19=
126]: debug3: receive packet: type 20 [preauth]<br>Jul =C2=A07 11:52:15 TOT=
O sshd[19126]: debug1: SSH2_MSG_KEXINIT received [preauth]<br>Jul =C2=A07 1=
1:52:15 TOTO sshd[19126]: debug2: local server KEXINIT proposal [preauth]<b=
r>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: KEX algorithms: diffie-hel=
lman-group-exchange-sha256 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[1912=
6]: debug2: host key algorithms: rsa-sha2-512,rsa-sha2-256,ssh-rsa [preauth=
]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: ciphers ctos: aes256-ct=
r,aes192-ctr,aes128-ctr [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]:=
 debug2: ciphers stoc: aes256-ctr,aes192-ctr,aes128-ctr [preauth]<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug2: MACs ctos: hmac-sha2-512,hmac-sh=
a2-256 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: MACs sto=
c: hmac-sha2-512,hmac-sha2-256 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[=
19126]: debug2: compression ctos: none [preauth]<br>Jul =C2=A07 11:52:15 TO=
TO sshd[19126]: debug2: compression stoc: none [preauth]<br>Jul =C2=A07 11:=
52:15 TOTO sshd[19126]: debug2: languages ctos: =C2=A0[preauth]<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug2: languages stoc: =C2=A0[preauth]<br>=
Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: first_kex_follows 0 =C2=A0[p=
reauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: reserved 0 =C2=A0=
[preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: peer client KEX=
INIT proposal [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: K=
EX algorithms: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,cur=
ve25519-sha256,<a href=3D"mailto:curve25519-sha256@libssh.org" target=3D"_b=
lank">curve25519-sha256@libssh.org</a>,diffie-hellman-group14-sha256,diffie=
-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-he=
llman-group14-sha1,diffie-hellman-group1-sha1 [preauth]<br>Jul =C2=A07 11:5=
2:15 TOTO sshd[19126]: debug2: host key algorithms: ssh-rsa [preauth]<br>Ju=
l =C2=A07 11:52:15 TOTO sshd[19126]: debug2: ciphers ctos: aes128-ctr,aes19=
2-ctr,aes256-ctr,aes256-cbc,<a href=3D"mailto:rijndael-cbc@lysator.liu.se" =
target=3D"_blank">rijndael-cbc@lysator.liu.se</a>,aes192-cbc,aes128-cbc,blo=
wfish-cbc,arcfour128,arcfour,cast128-cbc,3des-cbc [preauth]<br>Jul =C2=A07 =
11:52:15 TOTO sshd[19126]: debug2: ciphers stoc: aes128-ctr,aes192-ctr,aes2=
56-ctr,aes256-cbc,<a href=3D"mailto:rijndael-cbc@lysator.liu.se" target=3D"=
_blank">rijndael-cbc@lysator.liu.se</a>,aes192-cbc,aes128-cbc,blowfish-cbc,=
arcfour128,arcfour,cast128-cbc,3des-cbc [preauth]<br>Jul =C2=A07 11:52:15 T=
OTO sshd[19126]: debug2: MACs ctos: hmac-sha2-256,hmac-sha2-512,hmac-sha1,h=
mac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,<a href=3D"mailto:hmac-ripe=
md160@openssh.com" target=3D"_blank">hmac-ripemd160@openssh.com</a> [preaut=
h]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: MACs stoc: hmac-sha2-2=
56,hmac-sha2-512,hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160=
,<a href=3D"mailto:hmac-ripemd160@openssh.com" target=3D"_blank">hmac-ripem=
d160@openssh.com</a> [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: de=
bug2: compression ctos: none [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19=
126]: debug2: compression stoc: none [preauth]<br>Jul =C2=A07 11:52:15 TOTO=
 sshd[19126]: debug2: languages ctos: =C2=A0[preauth]<br>Jul =C2=A07 11:52:=
15 TOTO sshd[19126]: debug2: languages stoc: =C2=A0[preauth]<br>Jul =C2=A07=
 11:52:15 TOTO sshd[19126]: debug2: first_kex_follows 0 =C2=A0[preauth]<br>=
Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: reserved 0 =C2=A0[preauth]<b=
r>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: kex: algorithm: diffie-hel=
lman-group-exchange-sha256 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[1912=
6]: debug1: kex: host key algorithm: ssh-rsa [preauth]<br>Jul =C2=A07 11:52=
:15 TOTO sshd[19126]: debug1: kex: client-&gt;server cipher: aes128-ctr MAC=
: hmac-sha2-256 compression: none [preauth]<br>Jul =C2=A07 11:52:15 TOTO ss=
hd[19126]: debug1: kex: server-&gt;client cipher: aes128-ctr MAC: hmac-sha2=
-256 compression: none [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: =
debug1: expecting SSH2_MSG_KEX_DH_GEX_REQUEST [preauth]<br>Jul =C2=A07 11:5=
2:15 TOTO sshd[19126]: debug3: receive packet: type 34 [preauth]<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_KEX_DH_GEX_REQUEST receive=
d [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_se=
nd entering: type 0 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: deb=
ug3: mm_choose_dh: waiting for MONITOR_ANS_MODULI [preauth]<br>Jul =C2=A07 =
11:52:15 TOTO sshd[19126]: debug3: mm_request_receive_expect entering: type=
 1 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_r=
eceive entering [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3:=
 mm_request_receive entering<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debu=
g3: monitor_read: checking request 0<br>Jul =C2=A07 11:52:15 TOTO sshd[1912=
6]: debug3: mm_answer_moduli: got parameters: 2048 4096 8192<br>Jul =C2=A07=
 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 1<br>Jul=
 =C2=A07 11:52:15 TOTO sshd[19126]: debug2: monitor_read: 0 used once, disa=
bling now<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_choose_dh: r=
emaining 0 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: SSH2=
_MSG_KEX_DH_GEX_GROUP sent [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[1912=
6]: debug3: send packet: type 31 [preauth]<br>Jul =C2=A07 11:52:15 TOTO ssh=
d[19126]: debug2: bits set: 1978/4096 [preauth]<br>Jul =C2=A07 11:52:15 TOT=
O sshd[19126]: debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT [preauth]<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 32 [preauth=
]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: bits set: 2017/4096 [pr=
eauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_sshkey_sign ent=
ering [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_reques=
t_send entering: type 6 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]:=
 debug3: mm_request_receive entering<br>Jul =C2=A07 11:52:15 TOTO sshd[1912=
6]: debug3: monitor_read: checking request 6<br>Jul =C2=A07 11:52:15 TOTO s=
shd[19126]: debug3: mm_answer_sign<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]=
: debug3: mm_answer_sign: hostkey proof signature 0x80311540(271)<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_send entering: type 7=
<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: monitor_read: 6 used onc=
e, disabling now<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_sshke=
y_sign: waiting for MONITOR_ANS_SIGN [preauth]<br>Jul =C2=A07 11:52:15 TOTO=
 sshd[19126]: debug3: mm_request_receive_expect entering: type 7 [preauth]<=
br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive enteri=
ng [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: send packet:=
 type 33 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: send p=
acket: type 21 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: =
set_newkeys: mode 1 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: deb=
ug1: rekey after 4294967296 blocks [preauth]<br>Jul =C2=A07 11:52:15 TOTO s=
shd[19126]: debug1: SSH2_MSG_NEWKEYS sent [preauth]<br>Jul =C2=A07 11:52:15=
 TOTO sshd[19126]: debug1: expecting SSH2_MSG_NEWKEYS [preauth]<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug3: receive packet: type 21 [preauth]<b=
r>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: SSH2_MSG_NEWKEYS received =
[preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: set_newkeys: mo=
de 0 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: rekey afte=
r 4294967296 blocks [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: deb=
ug1: KEX done [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: r=
eceive packet: type 5 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: d=
ebug3: send packet: type 6 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[1912=
6]: debug3: receive packet: type 50 [preauth]<br>Jul =C2=A07 11:52:15 TOTO =
sshd[19126]: debug1: userauth-request for user toto service ssh-connection =
method none [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: att=
empt 0 failures 0 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug=
3: mm_getpwnamallow entering [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19=
126]: debug3: mm_request_send entering: type 8 [preauth]<br>Jul =C2=A07 11:=
52:15 TOTO sshd[19126]: debug3: mm_getpwnamallow: waiting for MONITOR_ANS_P=
WNAM [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request=
_receive_expect entering: type 9 [preauth]<br>Jul =C2=A07 11:52:15 TOTO ssh=
d[19126]: debug3: mm_request_receive entering [preauth]<br>Jul =C2=A07 11:5=
2:15 TOTO sshd[19126]: debug3: mm_request_receive entering<br>Jul =C2=A07 1=
1:52:15 TOTO sshd[19126]: debug3: monitor_read: checking request 8<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_answer_pwnamallow<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug2: parse_server_config: config reproce=
ss config len 970<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: auth_sh=
adow_acctexpired: today 18450 sp_expire -1 days left -18451<br>Jul =C2=A07 =
11:52:15 TOTO sshd[19126]: debug3: account expiration disabled<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug3: mm_answer_pwnamallow: sending MONIT=
OR_ANS_PWNAM: 1<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_reques=
t_send entering: type 9<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: m=
onitor_read: 8 used once, disabling now<br>Jul =C2=A07 11:52:15 TOTO sshd[1=
9126]: debug2: input_userauth_request: setting up authctxt for toto [preaut=
h]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_inform_authserv ent=
ering [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_reques=
t_send entering: type 4 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]:=
 debug3: mm_auth2_read_banner entering [preauth]<br>Jul =C2=A07 11:52:15 TO=
TO sshd[19126]: debug3: mm_request_send entering: type 10 [preauth]<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive_expect enteri=
ng: type 11 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_=
request_receive entering [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]=
: debug3: mm_request_receive entering<br>Jul =C2=A07 11:52:15 TOTO sshd[191=
26]: debug3: monitor_read: checking request 4<br>Jul =C2=A07 11:52:15 TOTO =
sshd[19126]: debug3: mm_answer_authserv: service=3Dssh-connection, style=3D=
<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: monitor_read: 4 used onc=
e, disabling now<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_reque=
st_receive entering<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: monit=
or_read: checking request 10<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debu=
g3: mm_request_send entering: type 11<br>Jul =C2=A07 11:52:15 TOTO sshd[191=
26]: debug2: monitor_read: 10 used once, disabling now<br>Jul =C2=A07 11:52=
:15 TOTO sshd[19126]: debug3: send packet: type 53 [preauth]<br>Jul =C2=A07=
 11:52:15 TOTO sshd[19126]: debug1: userauth_send_banner: sent [preauth]<br=
>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug2: input_userauth_request: try=
 method none [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: us=
er_specific_delay: user specific delay 0.000ms [preauth]<br>Jul =C2=A07 11:=
52:15 TOTO sshd[19126]: debug3: ensure_minimum_time_since: elapsed 73.257ms=
, delaying 64.508ms (requested 8.610ms) [preauth]<br>Jul =C2=A07 11:52:15 T=
OTO sshd[19126]: debug3: userauth_finish: failure partial=3D0 next methods=
=3D&quot;publickey&quot; [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]=
: debug3: send packet: type 51 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[=
19126]: debug3: receive packet: type 50 [preauth]<br>Jul =C2=A07 11:52:15 T=
OTO sshd[19126]: debug1: userauth-request for user toto service ssh-connect=
ion method publickey [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: de=
bug1: attempt 1 failures 0 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[1912=
6]: debug2: input_userauth_request: try method publickey [preauth]<br>Jul =
=C2=A07 11:52:15 TOTO sshd[19126]: debug1: userauth_pubkey: test pkalg ssh-=
rsa pkblob RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4 [preauth]=
<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_key_allowed entering =
[preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_send=
 entering: type 22 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debu=
g3: mm_key_allowed: waiting for MONITOR_ANS_KEYALLOWED [preauth]<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug3: mm_request_receive_expect entering:=
 type 23 [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug3: mm_req=
uest_receive entering [preauth]<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: d=
ebug3: mm_request_receive entering<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]=
: debug3: monitor_read: checking request 22<br>Jul =C2=A07 11:52:15 TOTO ss=
hd[19126]: debug3: mm_answer_keyallowed entering<br>Jul =C2=A07 11:52:15 TO=
TO sshd[19126]: debug3: mm_answer_keyallowed: key_from_blob: 0x80306160<br>=
Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: temporarily_use_uid: 1001/10=
01 (e=3D0/0)<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: trying publi=
c key file /home/test.pub<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1:=
 fd 4 clearing O_NONBLOCK<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1:=
 /home/test.pub:1: matching key found: RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVn=
Qv8mCouzqfNolAgbp4<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: /home/=
test.pub:1: key options: agent-forwarding port-forwarding pty user-rc x11-f=
orwarding<br>Jul =C2=A07 11:52:15 TOTO sshd[19126]: Accepted key RSA SHA256=
:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4 found at /home/test.pub:1<br>J=
ul =C2=A07 11:52:15 TOTO sshd[19126]: debug1: restore_uid: 0/0<br>Jul =C2=
=A07 11:52:15 TOTO sshd[19126]: debug3: mm_answer_keyallowed: publickey aut=
hentication test: RSA key is allowed<br>Jul =C2=A07 11:52:15 TOTO sshd[1912=
6]: debug3: mm_request_send entering: type 23<br>Jul =C2=A07 11:52:16 TOTO =
sshd[19126]: debug3: send packet: type 60 [preauth]<br>Jul =C2=A07 11:52:16=
 TOTO sshd[19126]: debug2: userauth_pubkey: authenticated 0 pkalg ssh-rsa [=
preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: user_specific_de=
lay: user specific delay 0.000ms [preauth]<br>Jul =C2=A07 11:52:16 TOTO ssh=
d[19126]: debug3: ensure_minimum_time_since: elapsed 10.037ms, delaying 7.1=
84ms (requested 8.610ms) [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]=
: Postponed publickey for toto from 10.91.140.30 port 49822 ssh2 [preauth]<=
br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: receive packet: type 50 [=
preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug1: userauth-request=
 for user toto service ssh-connection method publickey [preauth]<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19126]: debug1: attempt 2 failures 0 [preauth]<br>J=
ul =C2=A07 11:52:16 TOTO sshd[19126]: debug2: input_userauth_request: try m=
ethod publickey [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3:=
 userauth_pubkey: have ssh-rsa signature for RSA SHA256:fVQ7eL1KeCgpq4/BSsn=
ou/pVnQv8mCouzqfNolAgbp4 [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]=
: debug3: mm_key_allowed entering [preauth]<br>Jul =C2=A07 11:52:16 TOTO ss=
hd[19126]: debug3: mm_request_send entering: type 22 [preauth]<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19126]: debug3: mm_key_allowed: waiting for MONITOR=
_ANS_KEYALLOWED [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3:=
 mm_request_receive_expect entering: type 23 [preauth]<br>Jul =C2=A07 11:52=
:16 TOTO sshd[19126]: debug3: mm_request_receive entering [preauth]<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive entering<br>J=
ul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: monitor_read: checking reques=
t 22<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_answer_keyallowed=
 entering<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_answer_keyal=
lowed: key_from_blob: 0x80309fd0<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: =
debug1: temporarily_use_uid: 1001/1001 (e=3D0/0)<br>Jul =C2=A07 11:52:16 TO=
TO sshd[19126]: debug1: trying public key file /home/test.pub<br>Jul =C2=A0=
7 11:52:16 TOTO sshd[19126]: debug1: fd 4 clearing O_NONBLOCK<br>Jul =C2=A0=
7 11:52:16 TOTO sshd[19126]: debug1: /home/test.pub:1: matching key found: =
RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4<br>Jul =C2=A07 11:52=
:16 TOTO sshd[19126]: debug1: /home/test.pub:1: key options: agent-forwardi=
ng port-forwarding pty user-rc x11-forwarding<br>Jul =C2=A07 11:52:16 TOTO =
sshd[19126]: Accepted key RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNol=
Agbp4 found at /home/test.pub:1<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: d=
ebug1: restore_uid: 0/0<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: m=
m_answer_keyallowed: publickey authentication: RSA key is allowed<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_request_send entering: type 2=
3<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_sshkey_verify enteri=
ng [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_request_s=
end entering: type 24 [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: d=
ebug3: mm_sshkey_verify: waiting for MONITOR_ANS_KEYVERIFY [preauth]<br>Jul=
 =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive_expect enter=
ing: type 25 [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm=
_request_receive entering [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126=
]: debug3: mm_request_receive entering<br>Jul =C2=A07 11:52:16 TOTO sshd[19=
126]: debug3: monitor_read: checking request 24<br>Jul =C2=A07 11:52:16 TOT=
O sshd[19126]: debug3: mm_answer_keyverify: publickey 0x80309fd0 signature =
verified<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug1: auth_activate_op=
tions: setting new authentication options<br>Jul =C2=A07 11:52:16 TOTO sshd=
[19126]: debug3: mm_request_send entering: type 25<br>Jul =C2=A07 11:52:16 =
TOTO sshd[19126]: Accepted publickey for toto from 10.91.140.30 port 49822 =
ssh2: RSA SHA256:fVQ7eL1KeCgpq4/BSsnou/pVnQv8mCouzqfNolAgbp4<br>Jul =C2=A07=
 11:52:16 TOTO sshd[19126]: debug1: monitor_child_preauth: toto has been au=
thenticated by privileged process<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]:=
 debug3: mm_get_keystate: Waiting for new keys<br>Jul =C2=A07 11:52:16 TOTO=
 sshd[19126]: debug3: mm_request_receive_expect entering: type 26<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_request_receive entering<br>J=
ul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: mm_get_keystate: GOT new keys=
<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug1: auth_activate_options: s=
etting new authentication options [preauth]<br>Jul =C2=A07 11:52:16 TOTO ss=
hd[19126]: debug2: userauth_pubkey: authenticated 1 pkalg ssh-rsa [preauth]=
<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: user_specific_delay: use=
r specific delay 0.000ms [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]=
: debug3: ensure_minimum_time_since: elapsed 12.239ms, delaying 4.982ms (re=
quested 8.610ms) [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3=
: send packet: type 52 [preauth]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: =
debug3: mm_request_send entering: type 26 [preauth]<br>Jul =C2=A07 11:52:16=
 TOTO sshd[19126]: debug3: mm_send_keystate: Finished sending state [preaut=
h]<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug1: monitor_read_log: chil=
d log fd closed<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: debug3: ssh_sandb=
ox_parent_finish: finished<br>Jul =C2=A07 11:52:16 TOTO sshd[19126]: User c=
hild is on pid 19553<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug1: perm=
anently_set_uid: 1001/1001<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug3=
: monitor_apply_keystate: packet_set_state<br>Jul =C2=A07 11:52:16 TOTO ssh=
d[19553]: debug2: set_newkeys: mode 0<br>Jul =C2=A07 11:52:16 TOTO sshd[195=
53]: debug1: rekey after 4294967296 blocks<br>Jul =C2=A07 11:52:16 TOTO ssh=
d[19553]: debug2: set_newkeys: mode 1<br>Jul =C2=A07 11:52:16 TOTO sshd[195=
53]: debug1: rekey after 4294967296 blocks<br>Jul =C2=A07 11:52:16 TOTO ssh=
d[19553]: debug1: ssh_packet_set_postauth: called<br>Jul =C2=A07 11:52:16 T=
OTO sshd[19553]: debug3: ssh_packet_set_state: done<br>Jul =C2=A07 11:52:16=
 TOTO sshd[19553]: debug3: notify_hostkeys: key 0: ssh-rsa SHA256:vYlhpVfmX=
fMCmgD8vuI3qK7ppf3aRj8qhg3hj8OtJCI<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]=
: debug3: notify_hostkeys: sent 1 hostkeys<br>Jul =C2=A07 11:52:16 TOTO ssh=
d[19553]: debug3: send packet: type 80<br>Jul =C2=A07 11:52:16 TOTO sshd[19=
553]: debug1: active: key options: agent-forwarding port-forwarding pty use=
r-rc x11-forwarding<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug3: sendi=
ng debug message: /home/test.pub:1: key options: agent-forwarding port-forw=
arding pty user-rc x11-forwarding<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]:=
 debug3: send packet: type 4<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debu=
g3: sending debug message: /home/test.pub:1: key options: agent-forwarding =
port-forwarding pty user-rc x11-forwarding<br>Jul =C2=A07 11:52:16 TOTO ssh=
d[19553]: debug3: send packet: type 4<br>Jul =C2=A07 11:52:16 TOTO sshd[195=
53]: debug1: Entering interactive session for SSH2.<br>Jul =C2=A07 11:52:16=
 TOTO sshd[19553]: debug2: fd 7 setting O_NONBLOCK<br>Jul =C2=A07 11:52:16 =
TOTO sshd[19553]: debug2: fd 9 setting O_NONBLOCK<br>Jul =C2=A07 11:52:16 T=
OTO sshd[19553]: debug1: server_init_dispatch<br>Jul =C2=A07 11:52:16 TOTO =
sshd[19553]: debug3: receive packet: type 90<br>Jul =C2=A07 11:52:16 TOTO s=
shd[19553]: debug1: server_input_channel_open: ctype session rchan 0 win 20=
97152 max 32768<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug1: input_ses=
sion_request<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug1: channel 0: n=
ew [server-session]<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: sessi=
on_new: allocate (allocated 0 max 10)<br>Jul =C2=A07 11:52:16 TOTO sshd[195=
53]: debug3: session_unused: session id 0 unused<br>Jul =C2=A07 11:52:16 TO=
TO sshd[19553]: debug1: session_new: session 0<br>Jul =C2=A07 11:52:16 TOTO=
 sshd[19553]: debug1: session_open: channel 0<br>Jul =C2=A07 11:52:16 TOTO =
sshd[19553]: debug1: session_open: session 0: link with channel 0<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19553]: debug1: server_input_channel_open: confi=
rm session<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug3: send packet: t=
ype 91<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug3: receive packet: ty=
pe 98<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug1: server_input_channe=
l_req: channel 0 request subsystem reply 1<br>Jul =C2=A07 11:52:16 TOTO ssh=
d[19553]: debug1: session_by_channel: session 0 channel 0<br>Jul =C2=A07 11=
:52:16 TOTO sshd[19553]: debug1: session_input_channel_req: session 0 req s=
ubsystem<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: subsystem reques=
t for sftp by user toto<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug1: s=
ubsystem: exec() /usr/lib/openssh/sftp-server -l DEBUG3<br>Jul =C2=A07 11:5=
2:16 TOTO sshd[19553]: Starting session: subsystem &#39;sftp&#39; for toto =
from 10.91.140.30 port 49822 id 0<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]:=
 debug2: fd 5 setting TCP_NODELAY<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]:=
 debug3: ssh_packet_set_tos: set IP_TOS 0x20<br>Jul =C2=A07 11:52:16 TOTO s=
shd[19553]: debug2: fd 12 setting O_NONBLOCK<br>Jul =C2=A07 11:52:16 TOTO s=
shd[19553]: debug2: fd 11 setting O_NONBLOCK<br>Jul =C2=A07 11:52:16 TOTO s=
shd[19553]: debug2: fd 14 setting O_NONBLOCK<br>Jul =C2=A07 11:52:16 TOTO s=
shd[19553]: debug3: send packet: type 99<br>Jul =C2=A07 11:52:16 TOTO sshd[=
19553]: debug2: channel 0: read 43 from efd 14<br>Jul =C2=A07 11:52:16 TOTO=
 sshd[19553]: debug3: channel 0: discard efd<br>Jul =C2=A07 11:52:16 TOTO s=
shd[19553]: debug1: Received SIGCHLD.<br>Jul =C2=A07 11:52:16 TOTO sshd[195=
53]: debug1: session_by_pid: pid 19576<br>Jul =C2=A07 11:52:16 TOTO sshd[19=
553]: debug1: session_exit_message: session 0 channel 0 pid 19576<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: request exit-status c=
onfirm 0<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug3: send packet: typ=
e 98<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug1: session_exit_message=
: release channel 0<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: chann=
el 0: write failed<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channe=
l 0: chan_shutdown_write (i0 o0 sock -1 wfd 11 efd 14 [ignore])<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: send eow<br>Jul =C2=A07 =
11:52:16 TOTO sshd[19553]: debug2: channel 0: output open -&gt; closed<br>J=
ul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: read&lt;=3D0 rfd 1=
2 len 0<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: read f=
ailed<br>Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: chan_shu=
tdown_read (i0 o3 sock -1 wfd 12 efd 14 [ignore])<br>Jul =C2=A07 11:52:16 T=
OTO sshd[19553]: debug2: channel 0: input open -&gt; drain<br>Jul =C2=A07 1=
1:52:16 TOTO sshd[19553]: debug2: channel 0: read 0 from efd 14<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: closing read-efd 14<br>J=
ul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: ibuf empty<br>Jul =
=C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: send eof<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19553]: debug3: send packet: type 96<br>Jul =C2=A07=
 11:52:16 TOTO sshd[19553]: debug2: channel 0: input drain -&gt; closed<br>=
Jul =C2=A07 11:52:16 TOTO sshd[19553]: debug2: channel 0: send close<br>Jul=
 =C2=A07 11:52:16 TOTO sshd[19553]: debug3: send packet: type 97<br>Jul =C2=
=A07 11:52:16 TOTO sshd[19553]: debug2: notify_done: reading<br>Jul =C2=A07=
 11:52:16 TOTO sshd[19553]: debug3: channel 0: will not send data after clo=
se<br>Jul =C2=A07 11:57:15 TOTO sshd[19553]: debug3: receive packet: type 1=
<br>Jul =C2=A07 11:57:15 TOTO sshd[19553]: Received disconnect from 10.91.1=
40.30 port 49822:11: Shutdown<br>Jul =C2=A07 11:57:15 TOTO sshd[19553]: Dis=
connected from user toto 10.91.140.30 port 49822<br>Jul =C2=A07 11:57:15 TO=
TO sshd[19553]: debug1: do_cleanup<br>Jul =C2=A07 11:57:15 TOTO sshd[19126]=
: debug3: mm_request_receive entering<br>Jul =C2=A07 11:57:15 TOTO sshd[191=
26]: debug1: do_cleanup<br></div></div>
</blockquote></div>
</blockquote></div>

--0000000000002cfc0705a9d86072--

--===============1901588674==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No
Mi1kZXZlbAo=

--===============1901588674==--

From libssh2-devel-bounces@cool.haxx.se  Tue Jul  7 18:12:36 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 067GBu53011753;
	Tue, 7 Jul 2020 18:12:26 +0200
Received: from mail.panic.com (mail.panic.com [38.103.165.36])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 067GBrQo011703
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Tue, 7 Jul 2020 18:11:54 +0200
Received: from mail.outlook.com (unknown [52.125.128.97])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.panic.com (Postfix) with ESMTPSA id E52EAC004A
 for <libssh2-devel@cool.haxx.se>; Tue,  7 Jul 2020 09:11:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=panic.com;
 s=default; t=1594138309;
 bh=Y37hNLtPzmknY4AQsZXvnAGPckZSChqFCsulLQ9+kws=;
 h=Date:From:To:In-Reply-To:References:Subject;
 b=BQA/wIZYbo6Q6YyQ8QO0q+frgBvnylsS5xtG6dZc2UXnn+hVX3bwLJcEdzJ9c2Ino
 9YqBmQ8oeLM4yDrpdP0mzNva3KzF0lRcg+JwSZe56yTrM3QAyfoKXXvxYT4vEvcZqQ
 WpzqNq34ZtOE4Kc8/5yGeKb1yu2W6hvAMr1y05iY=
Date: Tue, 7 Jul 2020 16:11:48 +0000 (UTC)
From: Will Cosgrove <will@panic.com>
To: libssh2 development <libssh2-devel@cool.haxx.se>
Message-ID: <2051F6636E5DE3FB.8adfbf62-27fb-48a3-8c79-eeae4a25662e@mail.outlook.com>
In-Reply-To: <EFD18CDC-59DB-41FD-820C-45E8223162C9@moontechnolabs.com>
References: <EFD18CDC-59DB-41FD-820C-45E8223162C9@moontechnolabs.com>
Subject: Re: Build libssh2 for Mac Catalyst
MIME-Version: 1.0
X-Mailer: Outlook for iOS and Android
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============1875054271=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============1875054271==
Content-Type: multipart/alternative; 
	boundary="----=_Part_1497_415995422.1594138308005"

------=_Part_1497_415995422.1594138308005
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

The easiest way is to make an Xcode project from the source and build it. It's pretty straight forward to get building. You could also build it via the command line by following the docs. You may have to install some additional tools first, homebrew is the easiest way to do that.




Will




On Tue, Jul 7, 2020 at 12:43 AM -0700, "Riddhi K" <riddhi.k@moontechnolabs.com> wrote:










Hello Team,

I would like to build libssh2 library for Mac OS. Can you provide the guideline for this?
Looking forward for your reply.

Thank you.
Riddhi Kheni.


_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel






------=_Part_1497_415995422.1594138308005
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html><head></head><body><div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">The easiest way is to make an Xcode project from the source and build it. It's pretty straight forward to get building. You could also build it via the command line by following the docs. You may have to install some additional tools first, homebrew is the easiest way to do that.<span id="ms-outlook-android-cursor"></span><br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">Will</div>
<br><br><br>
<div class="gmail_quote">On Tue, Jul 7, 2020 at 12:43 AM -0700, "Riddhi K" <span dir="ltr">&lt;<a href="mailto:riddhi.k@moontechnolabs.com" target="_blank">riddhi.k@moontechnolabs.com</a>&gt;</span> wrote:<br>
<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="3D&quot;ltr&quot;">
<pre>Hello Team,

I would like to build libssh2 library for Mac OS. Can you provide the guideline for this?
Looking forward for your reply.

Thank you.
Riddhi Kheni.


_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
</pre>
</div>

</blockquote>
</div>
</body></html>
------=_Part_1497_415995422.1594138308005--

--===============1875054271==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No
Mi1kZXZlbAo=

--===============1875054271==--

From libssh2-devel-bounces@cool.haxx.se  Thu Jul  9 19:35:03 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 069HYKmb006815;
	Thu, 9 Jul 2020 19:34:51 +0200
Received: from ciao.gmane.io (static.214.254.202.116.clients.your-server.de
 [116.202.254.214])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 069HYI3F006774
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Thu, 9 Jul 2020 19:34:19 +0200
Received: from list by ciao.gmane.io with local (Exim 4.92)
 (envelope-from <gnslg-libssh2-devel-2@m.gmane-mx.org>)
 id 1jtaR4-0009CU-Pd
 for libssh2-devel@cool.haxx.se; Thu, 09 Jul 2020 19:34:14 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: libssh2-devel@cool.haxx.se
From: Jan Ehrhardt <phpdev@ehrhardt.nl>
Subject: Re: Build libssh2 for Mac Catalyst
Date: Thu, 09 Jul 2020 19:34:09 +0200
Message-ID: <4ujegfdcngh3kdv3ft8uk2sn0uf6ihv9ac@4ax.com>
References: <EFD18CDC-59DB-41FD-820C-45E8223162C9@moontechnolabs.com>
Mime-Version: 1.0
X-Newsreader: Forte Agent 3.3/32.846
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 069HYKmb006815

Riddhi K in gmane.network.ssh.libssh2.devel (Tue, 7 Jul 2020 13:06:50
+0530):
>I would like to build libssh2 library for Mac OS. Can you provide the guideline for this?
>Looking forward for your reply.

See https://github.com/Jan-E/iSSH2/tree/catalyst 
Especially
https://github.com/Jan-E/iSSH2/commit/4262507e4512344b7173950179301c15934139bd#commitcomment-35983917

The trick is to use
CFLAGS="-target x86_64-apple-ios13.0-macabi"

See also all the comments under
https://github.com/Frugghi/iSSH2/issues/10
-- 
Jan

_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Thu Jul  9 19:41:29 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 069HfNbB010838;
	Thu, 9 Jul 2020 19:41:27 +0200
Received: from ciao.gmane.io (static.214.254.202.116.clients.your-server.de
 [116.202.254.214])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 069HfLd0010786
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Thu, 9 Jul 2020 19:41:21 +0200
Received: from list by ciao.gmane.io with local (Exim 4.92)
 (envelope-from <gnslg-libssh2-devel-2@m.gmane-mx.org>)
 id 1jtaXt-0006re-6N
 for libssh2-devel@cool.haxx.se; Thu, 09 Jul 2020 19:41:17 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: libssh2-devel@cool.haxx.se
From: Jan Ehrhardt <phpdev@ehrhardt.nl>
Subject: Re: Build libssh2 for Mac Catalyst
Date: Thu, 09 Jul 2020 19:41:12 +0200
Message-ID: <0hlegf1mjko0n2hqaqjbhqpcfkmpjrqr2s@4ax.com>
References: <EFD18CDC-59DB-41FD-820C-45E8223162C9@moontechnolabs.com>
 <EFD18CDC-59DB-41FD-820C-45E8223162C9-a1ouethbQije/oljpBoL3tBPR1lH4CV8@public.gmane.org>
 <2051F6636E5DE3FB.8adfbf62-27fb-48a3-8c79-eeae4a25662e@mail.outlook.com>
Mime-Version: 1.0
X-Newsreader: Forte Agent 3.3/32.846
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 069HfNbB010838

Hi Will,

Will Cosgrove in gmane.network.ssh.libssh2.devel (Tue, 7 Jul 2020
16:11:48 +0000 (UTC)):
>The easiest way is to make an Xcode project from the source and build
>it. It's pretty straight forward to get building. You could also build
>it via the command line by following the docs. You may have to install
>some additional tools first, homebrew is the easiest way to do that.

It is not that straightforward if you want to build libssh2 (and
openssl) for Mac Catalyst, as per the subject.
-- 
Jan 

_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Thu Jul  9 20:32:57 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 069IWdEk006641;
	Thu, 9 Jul 2020 20:32:52 +0200
Received: from mail.panic.com (mail.panic.com [38.103.165.36])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 069IWaEl006557
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Thu, 9 Jul 2020 20:32:37 +0200
Received: from imac.localdomain (c-24-21-229-226.hsd1.or.comcast.net
 [24.21.229.226])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.panic.com (Postfix) with ESMTPSA id 9064EC0085
 for <libssh2-devel@cool.haxx.se>; Thu,  9 Jul 2020 11:32:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=panic.com;
 s=default; t=1594319551;
 bh=9SnIhbveRDwk5q0PMYpSxQESiOIWLvz0DXqme8mWNTY=;
 h=From:Subject:Date:References:To:In-Reply-To;
 b=HGzlryow7r4s6XfQsaZFbW5oRyZhUQdtP4F/Aj49M6lyazrGjyTCtMR7xYnsROuL7
 q8heRsdS2/BBhKkCfcw92kc+1rTfOlpl5kBNTYfdfZvbt0Nrfb5ekxQgGuuktgWbYo
 JlWOocp2hzNj3XFutL1838OrnxwZsJ0IofV5zuHE=
From: Will Cosgrove <will@panic.com>
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
Subject: Re: Build libssh2 for Mac Catalyst
Date: Thu, 9 Jul 2020 11:32:31 -0700
References: <EFD18CDC-59DB-41FD-820C-45E8223162C9@moontechnolabs.com>
 <EFD18CDC-59DB-41FD-820C-45E8223162C9-a1ouethbQije/oljpBoL3tBPR1lH4CV8@public.gmane.org>
 <2051F6636E5DE3FB.8adfbf62-27fb-48a3-8c79-eeae4a25662e@mail.outlook.com>
 <0hlegf1mjko0n2hqaqjbhqpcfkmpjrqr2s@4ax.com>
To: libssh2 development <libssh2-devel@cool.haxx.se>
In-Reply-To: <0hlegf1mjko0n2hqaqjbhqpcfkmpjrqr2s@4ax.com>
Message-Id: <18B11563-88B3-4ED1-AB34-5B1C96F6428A@panic.com>
X-Mailer: Apple Mail (2.3608.80.23.2.2)
X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id
 069IWaEl006557
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 069IWdEk006641

You do have to build fat libraries of OpenSSL to target the various platforms and use lipo to mirge them. This isn’t unusual for a static library and there are many resources online which will help walk you though the process specifically for OpenSSL.  As for libssh2, creating an Xcode project and building it as a framework (not a static library) is the easiest way as it manages the targets for you.

Will

> On Jul 9, 2020, at 10:41 AM, Jan Ehrhardt <phpdev@ehrhardt.nl> wrote:
> 
> Hi Will,
> 
> Will Cosgrove in gmane.network.ssh.libssh2.devel (Tue, 7 Jul 2020
> 16:11:48 +0000 (UTC)):
>> The easiest way is to make an Xcode project from the source and build
>> it. It's pretty straight forward to get building. You could also build
>> it via the command line by following the docs. You may have to install
>> some additional tools first, homebrew is the easiest way to do that.
> 
> It is not that straightforward if you want to build libssh2 (and
> openssl) for Mac Catalyst, as per the subject.
> -- 
> Jan 
> 
> _______________________________________________
> libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel


_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Fri Jul 10 01:26:15 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 069NPiuB001584;
	Fri, 10 Jul 2020 01:26:05 +0200
Received: from ciao.gmane.io (static.214.254.202.116.clients.your-server.de
 [116.202.254.214])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 069NPg0j001551
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Fri, 10 Jul 2020 01:25:43 +0200
Received: from list by ciao.gmane.io with local (Exim 4.92)
 (envelope-from <gnslg-libssh2-devel-2@m.gmane-mx.org>)
 id 1jtfv8-0009JW-Vp
 for libssh2-devel@cool.haxx.se; Fri, 10 Jul 2020 01:25:38 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: libssh2-devel@cool.haxx.se
From: Jan Ehrhardt <phpdev@ehrhardt.nl>
Subject: Re: Build libssh2 for Mac Catalyst
Date: Fri, 10 Jul 2020 01:25:33 +0200
Message-ID: <e48fgftlvnhq7po7vvfk7d42e6uffdjl9n@4ax.com>
References: <EFD18CDC-59DB-41FD-820C-45E8223162C9@moontechnolabs.com>
 <EFD18CDC-59DB-41FD-820C-45E8223162C9-a1ouethbQije/oljpBoL3tBPR1lH4CV8@public.gmane.org>
 <2051F6636E5DE3FB.8adfbf62-27fb-48a3-8c79-eeae4a25662e@mail.outlook.com>
 <0hlegf1mjko0n2hqaqjbhqpcfkmpjrqr2s@4ax.com>
 <0hlegf1mjko0n2hqaqjbhqpcfkmpjrqr2s-e09XROE/p8c@public.gmane.org>
 <18B11563-88B3-4ED1-AB34-5B1C96F6428A@panic.com>
Mime-Version: 1.0
X-Newsreader: Forte Agent 3.3/32.846
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 069NPiuB001584

Will that work for Mac Catalyst: running iPad/iPhone apps on macOS
10.15? Even for OpenSSL there are very few examples online how to do
that! See https://stackoverflow.com/a/56860199/872051 for one of those
resources.

If it is as straightforward as you say it is, you surely can point me to
a github or gitlab repo where that is being done.

Jan

Will Cosgrove in gmane.network.ssh.libssh2.devel (Thu, 9 Jul 2020
11:32:31 -0700):
>You do have to build fat libraries of OpenSSL to target the various
>platforms and use lipo to mirge them. This isnt unusual for a static
>library and there are many resources online which will help walk you
>though the process specifically for OpenSSL.  As for libssh2, creating
>an Xcode project and building it as a framework (not a static library)
>is the easiest way as it manages the targets for you.
>
>Will
>
>> On Jul 9, 2020, at 10:41 AM, Jan Ehrhardt <phpdev@ehrhardt.nl> wrote:
>> 
>> Hi Will,
>> 
>> Will Cosgrove in gmane.network.ssh.libssh2.devel (Tue, 7 Jul 2020
>> 16:11:48 +0000 (UTC)):
>>> The easiest way is to make an Xcode project from the source and build
>>> it. It's pretty straight forward to get building. You could also build
>>> it via the command line by following the docs. You may have to install
>>> some additional tools first, homebrew is the easiest way to do that.
>> 
>> It is not that straightforward if you want to build libssh2 (and
>> openssl) for Mac Catalyst, as per the subject.
>> -- 
>> Jan 
>> 
>> _______________________________________________
>> libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>
>
>_______________________________________________
>libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Fri Jul 10 07:57:24 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 06A5uq24025750;
	Fri, 10 Jul 2020 07:57:13 +0200
Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com
 [IPv6:2607:f8b0:4864:20:0:0:0:642])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 06A5unYp025704
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Fri, 10 Jul 2020 07:56:50 +0200
Received: by mail-pl1-x642.google.com with SMTP id m16so609592pls.5
 for <libssh2-devel@cool.haxx.se>; Thu, 09 Jul 2020 22:56:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=moontechnolabs.com; s=google;
 h=from:message-id:mime-version:subject:date:in-reply-to:cc:to
 :references; bh=Akypk67nZWa0Ma23szBaALSUJre9riOYiyuJdr6TOS0=;
 b=jjoutqgxY2piJBFX0LJ/8qL4HIH4QSAQ5ZgI/5aYDjWLl9+SKNvvOFNdbDWzGf+GF5
 fwjL8XXInImUeGkmF5MgXprFYbRbZRRgKxI8B0gZOduTNxm0ryIQS0txBZN+o1V4tA4g
 95MsgOXh+jZSfndlgMYzPX2dTuAA49Xokpi3g=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:message-id:mime-version:subject:date
 :in-reply-to:cc:to:references;
 bh=Akypk67nZWa0Ma23szBaALSUJre9riOYiyuJdr6TOS0=;
 b=RelXNgZy0GnipedGMNNm3Y+2xZMhhL9ZpVq1zUIw/++F2qqB3TcAoFXqczSKjh3P/b
 LhnKHE3ApVl7dPqPf+X21V7e8bGnpF6zFXW/j4Vu+kUUtqCimihVGSPjYSgejH2kRMvH
 vH/SMHQrDqKcTtfO7gEp2JiZP4L24h1kEkS17ootVRvbih7JQePysO461Owo0G0ZDTGh
 j90N0A7H+tEKv/RYxBM09x6zCDkpHjrpBmx4UM4GmbkKt8R/VsKqq8DGoDzqdGRxaMYn
 AIe/1O70Kfq2RGHKY92Dv5yzmCafWbKD2veaoCvU+0QUNowPeGF/uFNoaG2xwvPTHqwx
 2zsw==
X-Gm-Message-State: AOAM531B+DQ/euFBlgtYNqXj8K6wjqoNtF2Z/uQjwo2pNLGx0vdohIPJ
 wWONYUk3G64AB8QoUXyKGTuP1hsLBVZG7lPB
X-Google-Smtp-Source: ABdhPJxULzUTS3xKR5FAijIe2eoA8SzPSdwTgSqguYFozSlYtwp1R9H8kLoR4obv4AJgC8w8VneUgw==
X-Received: by 2002:a17:90a:30ea:: with SMTP id
 h97mr3957927pjb.32.1594360604197; 
 Thu, 09 Jul 2020 22:56:44 -0700 (PDT)
Received: from [192.168.1.119] ([122.170.1.34])
 by smtp.gmail.com with ESMTPSA id e13sm4724121pfn.204.2020.07.09.22.56.42
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 09 Jul 2020 22:56:43 -0700 (PDT)
From: Riddhi K <riddhi.k@moontechnolabs.com>
Message-Id: <8A953853-F477-43F0-AC91-007F0494A84D@moontechnolabs.com>
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
Subject: Re: Build libssh2 for Mac Catalyst
Date: Fri, 10 Jul 2020 11:26:39 +0530
In-Reply-To: <e48fgftlvnhq7po7vvfk7d42e6uffdjl9n@4ax.com>
To: libssh2 development <libssh2-devel@cool.haxx.se>
References: <EFD18CDC-59DB-41FD-820C-45E8223162C9@moontechnolabs.com>
 <EFD18CDC-59DB-41FD-820C-45E8223162C9-a1ouethbQije/oljpBoL3tBPR1lH4CV8@public.gmane.org>
 <2051F6636E5DE3FB.8adfbf62-27fb-48a3-8c79-eeae4a25662e@mail.outlook.com>
 <0hlegf1mjko0n2hqaqjbhqpcfkmpjrqr2s@4ax.com>
 <0hlegf1mjko0n2hqaqjbhqpcfkmpjrqr2s-e09XROE/p8c@public.gmane.org>
 <18B11563-88B3-4ED1-AB34-5B1C96F6428A@panic.com>
 <e48fgftlvnhq7po7vvfk7d42e6uffdjl9n@4ax.com>
X-Mailer: Apple Mail (2.3608.80.23.2.2)
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Cc: will@panic.com, phpdev@ehrhardt.nl
Content-Type: multipart/mixed; boundary="===============0392341640=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>


--===============0392341640==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_7475634C-B8B4-4266-82FD-96A8FC613864"


--Apple-Mail=_7475634C-B8B4-4266-82FD-96A8FC613864
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hello,

Thank you for the reply.

I already have Xcode project related to SSH Client for iPhone/iPad =
running for so long time, and there are some static libs used (ex: =
libcypto.a, libgcrypt.a, libgpg-error.a, libssh2.a). But these libs only =
have architectures (armv7, armv7s, arm64, arm64e, x86_64, i386). So, =
after enabling Mac catalyst I am getting error =E2=80=9CBuilding for Mac =
Catalyst but lib is only support iOS+simulator=E2=80=9D. So, I=E2=80=99ve =
tried to build libs to support all of them by referring this =
https://github.com/Frugghi/iSSH2 <https://github.com/Frugghi/iSSH2> but =
still have no success. The libs generating after running this script =
have same architectures and using them in the project gives same error. =
Also tried some other scripts, tried to build manually but no success.

Riddhi.



> On 10-Jul-2020, at 4:55 AM, Jan Ehrhardt <phpdev@ehrhardt.nl> wrote:
>=20
> Will that work for Mac Catalyst: running iPad/iPhone apps on macOS
> 10.15? Even for OpenSSL there are very few examples online how to do
> that! See https://stackoverflow.com/a/56860199/872051 for one of those
> resources.
>=20
> If it is as straightforward as you say it is, you surely can point me =
to
> a github or gitlab repo where that is being done.
>=20
> Jan
>=20
> Will Cosgrove in gmane.network.ssh.libssh2.devel (Thu, 9 Jul 2020
> 11:32:31 -0700):
>> You do have to build fat libraries of OpenSSL to target the various
>> platforms and use lipo to mirge them. This isn=C2=92t unusual for a =
static
>> library and there are many resources online which will help walk you
>> though the process specifically for OpenSSL.  As for libssh2, =
creating
>> an Xcode project and building it as a framework (not a static =
library)
>> is the easiest way as it manages the targets for you.
>>=20
>> Will
>>=20
>>> On Jul 9, 2020, at 10:41 AM, Jan Ehrhardt <phpdev@ehrhardt.nl> =
wrote:
>>>=20
>>> Hi Will,
>>>=20
>>> Will Cosgrove in gmane.network.ssh.libssh2.devel (Tue, 7 Jul 2020
>>> 16:11:48 +0000 (UTC)):
>>>> The easiest way is to make an Xcode project from the source and =
build
>>>> it. It's pretty straight forward to get building. You could also =
build
>>>> it via the command line by following the docs. You may have to =
install
>>>> some additional tools first, homebrew is the easiest way to do =
that.
>>>=20
>>> It is not that straightforward if you want to build libssh2 (and
>>> openssl) for Mac Catalyst, as per the subject.
>>> --=20
>>> Jan=20
>>>=20
>>> _______________________________________________
>>> libssh2-devel =
https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>>=20
>>=20
>> _______________________________________________
>> libssh2-devel =
https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>=20
> _______________________________________________
> libssh2-devel =
https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel


--Apple-Mail=_7475634C-B8B4-4266-82FD-96A8FC613864
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><div =
dir=3D"auto" style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
line-break: after-white-space;" class=3D"">Hello,<div class=3D""><br =
class=3D""></div><div class=3D"">Thank you for the reply.<br =
class=3D""><div class=3D""><br class=3D""></div><div class=3D"">I =
already have Xcode project related to SSH Client for iPhone/iPad running =
for so long time, and there are some static libs used (ex: libcypto.a, =
libgcrypt.a, libgpg-error.a, libssh2.a). But these libs only have =
architectures (armv7, armv7s, arm64, arm64e, x86_64, i386). So, after =
enabling Mac catalyst I am getting error =E2=80=9CBuilding for Mac =
Catalyst but lib is only support iOS+simulator=E2=80=9D. So, I=E2=80=99ve =
tried to build libs to support all of them by referring this&nbsp;<a =
href=3D"https://github.com/Frugghi/iSSH2" =
class=3D"">https://github.com/Frugghi/iSSH2</a>&nbsp;but still have no =
success. The libs generating after running this script have same =
architectures and using them in the project gives same error. Also tried =
some other scripts, tried to build manually but no success.</div><div =
class=3D""><br class=3D""></div><div class=3D"">Riddhi.</div><div =
class=3D""><div class=3D""><br class=3D""></div><div class=3D""><br =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 10-Jul-2020, at 4:55 AM, Jan Ehrhardt &lt;<a =
href=3D"mailto:phpdev@ehrhardt.nl" class=3D"">phpdev@ehrhardt.nl</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
class=3D"">Will that work for Mac Catalyst: running iPad/iPhone apps on =
macOS<br class=3D"">10.15? Even for OpenSSL there are very few examples =
online how to do<br class=3D"">that! See <a =
href=3D"https://stackoverflow.com/a/56860199/872051" =
class=3D"">https://stackoverflow.com/a/56860199/872051</a> for one of =
those<br class=3D"">resources.<br class=3D""><br class=3D"">If it is as =
straightforward as you say it is, you surely can point me to<br =
class=3D"">a github or gitlab repo where that is being done.<br =
class=3D""><br class=3D"">Jan<br class=3D""><br class=3D"">Will Cosgrove =
in gmane.network.ssh.libssh2.devel (Thu, 9 Jul 2020<br class=3D"">11:32:31=
 -0700):<br class=3D""><blockquote type=3D"cite" class=3D"">You do have =
to build fat libraries of OpenSSL to target the various<br =
class=3D"">platforms and use lipo to mirge them. This isn=C2=92t unusual =
for a static<br class=3D"">library and there are many resources online =
which will help walk you<br class=3D"">though the process specifically =
for OpenSSL. &nbsp;As for libssh2, creating<br class=3D"">an Xcode =
project and building it as a framework (not a static library)<br =
class=3D"">is the easiest way as it manages the targets for you.<br =
class=3D""><br class=3D"">Will<br class=3D""><br class=3D""><blockquote =
type=3D"cite" class=3D"">On Jul 9, 2020, at 10:41 AM, Jan Ehrhardt =
&lt;<a href=3D"mailto:phpdev@ehrhardt.nl" =
class=3D"">phpdev@ehrhardt.nl</a>&gt; wrote:<br class=3D""><br =
class=3D"">Hi Will,<br class=3D""><br class=3D"">Will Cosgrove in =
gmane.network.ssh.libssh2.devel (Tue, 7 Jul 2020<br class=3D"">16:11:48 =
+0000 (UTC)):<br class=3D""><blockquote type=3D"cite" class=3D"">The =
easiest way is to make an Xcode project from the source and build<br =
class=3D"">it. It's pretty straight forward to get building. You could =
also build<br class=3D"">it via the command line by following the docs. =
You may have to install<br class=3D"">some additional tools first, =
homebrew is the easiest way to do that.<br class=3D""></blockquote><br =
class=3D"">It is not that straightforward if you want to build libssh2 =
(and<br class=3D"">openssl) for Mac Catalyst, as per the subject.<br =
class=3D"">-- <br class=3D"">Jan <br class=3D""><br =
class=3D"">_______________________________________________<br =
class=3D"">libssh2-devel <a =
href=3D"https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel" =
class=3D"">https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel</a>=
<br class=3D""></blockquote><br class=3D""><br =
class=3D"">_______________________________________________<br =
class=3D"">libssh2-devel <a =
href=3D"https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel" =
class=3D"">https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel</a>=
<br class=3D""></blockquote><br =
class=3D"">_______________________________________________<br =
class=3D"">libssh2-devel <a =
href=3D"https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel" =
class=3D"">https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel</a>=
<br class=3D""></div></div></blockquote></div><br =
class=3D""></div></div></div></div></body></html>=

--Apple-Mail=_7475634C-B8B4-4266-82FD-96A8FC613864--

--===============0392341640==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No
Mi1kZXZlbAo=

--===============0392341640==--

From libssh2-devel-bounces@cool.haxx.se  Fri Jul 10 14:05:12 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 06AC4ZDl018797;
	Fri, 10 Jul 2020 14:04:59 +0200
Received: from ciao.gmane.io (static.214.254.202.116.clients.your-server.de
 [116.202.254.214])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 06AC4XUX018762
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Fri, 10 Jul 2020 14:04:34 +0200
Received: from list by ciao.gmane.io with local (Exim 4.92)
 (envelope-from <gnslg-libssh2-devel-2@m.gmane-mx.org>)
 id 1jtrlV-0009eU-Bj
 for libssh2-devel@cool.haxx.se; Fri, 10 Jul 2020 14:04:29 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: libssh2-devel@cool.haxx.se
From: Jan Ehrhardt <phpdev@ehrhardt.nl>
Subject: Re: Build libssh2 for Mac Catalyst
Date: Fri, 10 Jul 2020 14:04:23 +0200
Message-ID: <41lggf1glks7tta0hu8p7ivddasa9oqsor@4ax.com>
References: <2051F6636E5DE3FB.8adfbf62-27fb-48a3-8c79-eeae4a25662e@mail.outlook.com>
 <0hlegf1mjko0n2hqaqjbhqpcfkmpjrqr2s@4ax.com>
 <0hlegf1mjko0n2hqaqjbhqpcfkmpjrqr2s-e09XROE/p8c@public.gmane.org>
 <18B11563-88B3-4ED1-AB34-5B1C96F6428A@panic.com>
 <e48fgftlvnhq7po7vvfk7d42e6uffdjl9n@4ax.com>
 <e48fgftlvnhq7po7vvfk7d42e6uffdjl9n-e09XROE/p8c@public.gmane.org>
 <8A953853-F477-43F0-AC91-007F0494A84D@moontechnolabs.com>
Mime-Version: 1.0
X-Newsreader: Forte Agent 3.3/32.846
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 06AC4ZDl018797

Try

git clone -b catalyst https://github.com/Jan-E/iSSH2
cd iSSH2
./catalyst.sh

It will build fat libraries for OpenSSL 1.1.1g and LibSSH2 1.9.0 with
x86_64 for Mac Catalyst.

The down side: fat libraries can only contain one x86_64 instance, so
with these libraries you will loose the possibility to run your project
on an iOS simulator.

You will have to switch libraries or create a new target in your project
to test it in a iOS simulator.

Jan

Riddhi K in gmane.network.ssh.libssh2.devel (Fri, 10 Jul 2020 11:26:39
+0530):
>Hello,
>
>Thank you for the reply.
>
>I already have Xcode project related to SSH Client for iPhone/iPad
>running for so long time, and there are some static libs used (ex:
>libcypto.a, libgcrypt.a, libgpg-error.a, libssh2.a). But these libs
>only have architectures (armv7, armv7s, arm64, arm64e, x86_64, i386).
>So, after enabling Mac catalyst I am getting error Building for Mac
>Catalyst but lib is only support iOS+simulator. So, Ive tried to
>build libs to support all of them by referring this
> https://github.com/Frugghi/iSSH2 <https://github.com/Frugghi/iSSH2> but
>still have no success. The libs generating after running this script
>have same architectures and using them in the project gives same error.
>Also tried some other scripts, tried to build manually but no success.
>
>Riddhi.

>
>> On 10-Jul-2020, at 4:55 AM, Jan Ehrhardt <phpdev@ehrhardt.nl> wrote:
>> 
>> Will that work for Mac Catalyst: running iPad/iPhone apps on macOS
>> 10.15? Even for OpenSSL there are very few examples online how to do
>> that! See https://stackoverflow.com/a/56860199/872051 for one of those
>> resources.
>> 
>> If it is as straightforward as you say it is, you surely can point me to
>> a github or gitlab repo where that is being done.
>> 
>> Jan
>> 
>> Will Cosgrove in gmane.network.ssh.libssh2.devel (Thu, 9 Jul 2020
>> 11:32:31 -0700):
>>> You do have to build fat libraries of OpenSSL to target the various
>>> platforms and use lipo to mirge them. This isn?t unusual for a static
>>> library and there are many resources online which will help walk you
>>> though the process specifically for OpenSSL.  As for libssh2, creating
>>> an Xcode project and building it as a framework (not a static library)
>>> is the easiest way as it manages the targets for you.
>>> 
>>> Will
>>> 
>>>> On Jul 9, 2020, at 10:41 AM, Jan Ehrhardt <phpdev@ehrhardt.nl> wrote:
>>>> 
>>>> Hi Will,
>>>> 
>>>> Will Cosgrove in gmane.network.ssh.libssh2.devel (Tue, 7 Jul 2020
>>>> 16:11:48 +0000 (UTC)):
>>>>> The easiest way is to make an Xcode project from the source and build
>>>>> it. It's pretty straight forward to get building. You could also build
>>>>> it via the command line by following the docs. You may have to install
>>>>> some additional tools first, homebrew is the easiest way to do that.
>>>> 
>>>> It is not that straightforward if you want to build libssh2 (and
>>>> openssl) for Mac Catalyst, as per the subject.
>>>> -- 
>>>> Jan 
>>>> 
>>>> _______________________________________________
>>>> libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>>> 
>>> 
>>> _______________________________________________
>>> libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>> 
>> _______________________________________________
>> libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Tue Jul 28 17:32:29 2020
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 06SFVkRi011104;
	Tue, 28 Jul 2020 17:32:15 +0200
Received: from us-smtp-delivery-1.mimecast.com
 (us-smtp-delivery-1.mimecast.com [207.211.31.120])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 06SFVhIW011087
 for <libssh2-devel@cool.haxx.se>; Tue, 28 Jul 2020 17:31:44 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mathworks.com;
 s=mimecast20180117; t=1595950303;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=dUVQ2600qzbwQ4G4SxTmZfOQwftYun384gcLX5U+SS8=;
 b=SI4PBq7U0nKTOo5Qaiav1khx/pr85n7rwo0Dta3Z8OgLI/BVcYBDm6u53wLaiZE8VYtfXC
 eJbThnvh1EVV3aa/OTijulxkCpv0ffKHck2H0vuRl+iaENTmzfB0tf8v3CsAYhEWRm8W0R
 72mzqKRgyRw5TAIdPqYzJrw4mgJjW/0=
Received: from NAM10-MW2-obe.outbound.protection.outlook.com
 (mail-mw2nam10lp2103.outbound.protection.outlook.com [104.47.55.103])
 (Using TLS) by relay.mimecast.com with ESMTP id
 us-mta-427-Xa4AxILcOOuCzb7OZd8LtA-1; Tue, 28 Jul 2020 11:31:30 -0400
X-MC-Unique: Xa4AxILcOOuCzb7OZd8LtA-1
Received: from BL0PR05MB5107.namprd05.prod.outlook.com (2603:10b6:208:80::22)
 by BL0PR05MB5074.namprd05.prod.outlook.com (2603:10b6:208:8b::18)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.9; Tue, 28 Jul
 2020 15:31:28 +0000
Received: from BL0PR05MB5107.namprd05.prod.outlook.com
 ([fe80::fd68:5fd0:d719:b346]) by BL0PR05MB5107.namprd05.prod.outlook.com
 ([fe80::fd68:5fd0:d719:b346%7]) with mapi id 15.20.3239.016; Tue, 28 Jul 2020
 15:31:28 +0000
From: Nimit Dhulekar <ndhuleka@mathworks.com>
To: "libssh2-devel@cool.haxx.se" <libssh2-devel@cool.haxx.se>
Subject: Adding static and shared builds of libssh2 to general release
Thread-Topic: Adding static and shared builds of libssh2 to general release
Thread-Index: AQHWZPOo4jJZuaWuSkycPJKEiWf3GQ==
Date: Tue, 28 Jul 2020 15:31:28 +0000
Message-ID: <BL0PR05MB5107226A14315642D0FA6EA3C3730@BL0PR05MB5107.namprd05.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [144.212.3.4]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ec748315-0f7f-469d-6125-08d8330b4bef
x-ms-traffictypediagnostic: BL0PR05MB5074:
x-microsoft-antispam-prvs: <BL0PR05MB5074F54A4D28DACC776718D1C3730@BL0PR05MB5074.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: jqsMs6/H5xpkNgzP6oMfgUV9zUGijBY6XCorTkrHlv1/CmgOcvG3AmmFog32wM6opy/0/0apUujmfzXv5V/Fz/54kK7iSILcu6AgEoAY8bWipzD85xvctUo041G9Bm9H4BUVZgKWDt1pv77oWDfY1PQy0jPTZIgnhV27gRjwTe0ARkdFRLNEuCwaFlFrGV/eIyIPKAWPhXCphU59GWJBELSlcwgSJEj+Lp8eOVsHFJNirBNRua/a9BHb/IHUwAuJ3hSdRj74xbD569JxZG1LMetG42mKc3wAa78O48TURerJa5g5JlAQH9ReBF0m5pUp3gguogjnj4YKSrBTrzhxWQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:BL0PR05MB5107.namprd05.prod.outlook.com; PTR:; CAT:NONE;
 SFTY:;
 SFS:(4636009)(376002)(396003)(136003)(346002)(366004)(39860400002)(478600001)(5660300002)(6916009)(8936002)(66556008)(8676002)(66946007)(64756008)(66446008)(76116006)(66476007)(186003)(7696005)(2906002)(33656002)(26005)(558084003)(83380400001)(6506007)(55016002)(316002)(9686003)(52536014)(71200400001)(19627405001)(86362001);
 DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata: XTZQRTkx6NNt3MvmKB6FtYPjsOcqco1b9w4W4dgqWqG2YhMHq/dCn2erbh3ORksifOgzTHLrkJm3ibspMQ6Ew2UGUxkHAudyFyrUItbaPfPn4y0VYw+i31WVFAJc67G6d7gK9z5/wDQ0j2dqloLNe1f+GhqHXA99ujlIa6HA5LUPEF6Vo12ZoeChlonslGb5vQYJ+ANkrYpoD5GAr9ltdJT8D/TJNxtWetbu9XZobB43bwEMmlWHQXevNnuotQvMKFC2qs20c5Q/oMoXQcajffdJ5X/VWc4XtWaP6TAR1NzgINZkDxdxOEPacvAbpdmfDr4sfkSn9uDdRjkOSTAgS1+MYs86V71qu2Og0u41zS4kojRjjH5+BhxT5xMTwZ+wJROMaAm7hxnfJI1HW8yj7KHNnYEv9qfN9RBaKFa+eF5PPoQTNO0tYvq4mHulyVVT2nnXVPtXldGuCsESpWs+/6UM9gPhnVG2X/stMtmJzy4Hsz5RoI6e4Qe9ovYFJVysw4/ozNN8vDyD/ddZXwDwvU8H1aTP0vo7capR2VUszXvWRQIAB0zcPxm8PXtAGZKsrkb1Uy+W8MLrQNdSgbtGPPjXzsd18p95phplNU03E38iHrPAdReLp8zlagw0klfo0uvxL6jx8nGz+NM3zf60Ag==
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-OriginatorOrg: mathworks.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BL0PR05MB5107.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ec748315-0f7f-469d-6125-08d8330b4bef
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jul 2020 15:31:28.2892 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 99dd3a11-4348-4468-9bdd-e5072b1dc1e6
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: mDXJP7gXGdRe7byVwogkZx2izEvKZl0na0phXEoa4gmEpEUsBtUzx/OXc5Uxn2S84n0Qdj9VN/A/pbh7eBdGwg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR05MB5074
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: mathworks.com
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============0903868191=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============0903868191==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_BL0PR05MB5107226A14315642D0FA6EA3C3730BL0PR05MB5107namp_"

--_000_BL0PR05MB5107226A14315642D0FA6EA3C3730BL0PR05MB5107namp_
Content-Type: text/plain; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable

Hi all,

I recently needed both static and shared builds of libssh2 on non-Windows p=
latforms, and updated the src/CMakeLists.txt and the makefile. I was wonder=
ing if this would be a good submission to the libssh2 general release so th=
at everyone can make use of this capability.

Thanks,
Nimit

--_000_BL0PR05MB5107226A14315642D0FA6EA3C3730BL0PR05MB5107namp_
Content-Type: text/html; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hi all,</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I recently needed both static and shared&nbsp;builds of libssh2 on non-Wind=
ows platforms, and updated the src/CMakeLists.txt and the makefile. I was w=
ondering if this would be a good submission to the libssh2 general release =
so that everyone can make use of this
 capability.</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Thanks,</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Nimit</div>
</body>
</html>

--_000_BL0PR05MB5107226A14315642D0FA6EA3C3730BL0PR05MB5107namp_--


--===============0903868191==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No
Mi1kZXZlbAo=

--===============0903868191==--

