delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/11/26/14:22:19

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4B7D73858282
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1701026538;
bh=/QGI1vqtz4+f9/E93HjdP2d2jHV7W8VcxXSjVOdLhUc=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=f5xxdReawwCsAXK3StOzsjcuCcf56s7K4W0QCEf1TYQr7oKm8hTnngWA4Zcad2m8E
5ujv5sCFiTl2+e3kkX4SQcsM+Gspxqbz3/bXjk75rO0FlWouk/4AjJklMGQnid+lZA
75i7nwYVXQhLguIAlLqTeLN+gc/fBVb++0K3MYZI=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EAC573858C29
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EAC573858C29
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701026501; cv=none;
b=j+YONDBEjd6CH+qk20Rd8inSALnHR3quXCVLb+clI9dDBaI6wrhP1igq/BA6gQmQ+lGR0jOfGpGEIAsgirhBZ37Lv4d+9Oz2qFM4DrOVQ0qdnNKkNIXoIT3CjQMPYJthHsmSuoisNcml5rW0yZhb/iEftS+GUzS8mJj6YpIZ9OE=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1701026501; c=relaxed/simple;
bh=ZxRtFJ3ztC0d/gM6pS/J1oRmLn1pgaBEhNoiGkQK1rg=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
b=HIQ6smakxewAQdjT0AisFm9L1snu5Yp+G1oWakmuWvlXZmJSpy1MUTRK11QjB7h4TbBKTWxXVcrSmwgI1N0o2Z/J7Fzd0imllKJTMRw9vHvRTqTtc70I55W7m7/O3bOSFB9L4KvHBQ7cfrgNS5pEWfvv/NFEQxMDpx/KncvA3aI=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Authority-Analysis: v=2.4 cv=MPFzJeVl c=1 sm=1 tr=0 ts=65639ac3
a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17
a=IkcTkHD0fZMA:10 a=yMhMjlubAAAA:8 a=xEbLJNPz-x5QqGVH1hAA:9 a=QEXdDO2ut3YA:10
Message-ID: <02eb842d-e2c7-4536-9602-67475d1804a7@Shaw.ca>
Date: Sun, 26 Nov 2023 12:21:38 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Cygwin 3.4.9 - how to install ssh-keygen
To: cygwin AT cygwin DOT com
References: <cba6d8a9769ab61ef5e724607d0f32761b3f9308 DOT camel AT gmx DOT li>
<cb49e2b78a4818e090b169cc88bfc497024b4d60 DOT camel AT gmx DOT li>
<PH0PR16MB47825F25F55C915BD9505A75F5B8A AT PH0PR16MB4782 DOT namprd16 DOT prod DOT outlook DOT com>
<c1b9a9ba0d3c386dd2350e20a4b0013b7e5697de DOT camel AT gmx DOT li>
<87jzq5y8nc DOT fsf AT Gerda DOT invalid>
<4ae9d8388563c8b6c82801815b9c12ab9fca7081 DOT camel AT gmx DOT at>
Organization: Inglis
In-Reply-To: <4ae9d8388563c8b6c82801815b9c12ab9fca7081.camel@gmx.at>
X-CMAE-Envelope: MS4xfEqVwMynjIep4weqHnx4QG4sPgRxxs43O44yxjMbDklFDj0RjPhnnQirNLuHIjMMUFpzVOQh2Qey/EXkWMY00kJZ2VL1pnBoo4LmkyiOZL4SiGHgjR6q
FPNJEeSeIVie7Lb6UsrvjBGzHKPtwfiatXZP1hXuXMdlJqix53OjLY2u72djkn5Jo+T1vANiAOvkyg==
X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,
RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT Shaw DOT ca>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3AQJMI93027557

On 2023-11-26 10:12, Matthias--- via Cygwin wrote:
> Am Samstag, dem 25.11.2023 um 19:45 +0100 schrieb ASSI via Cygwin:
>> Matthias--- via Cygwin writes:
>>> Yes - That's the reason in my VM too:
>>>     strace ssh-keygen -A
>>>     --- Process 8280 loaded C:\Windows\System32\ntmarta.dll at 00007ffcbc790000
>>>     --- Process 8280 thread 12528 created
>>>     --- Process 8280 thread 15124 created
>>>     --- Process 8280 thread 3324 created
>>>     --- Process 8280, exception c0000005 at 0000000000000000
>>>     --- Process 8280 thread 12528 exited with status 0x0
>>>     --- Process 8280 loaded C:\Windows\System32\kernel.appcore.dll at 00007ffcbb550000
>>>     --- Process 8280 thread 13908 exited with status 0xc0000005
>>>     --- Process 8280 thread 3324 exited with status 0xc0000005
>>>     --- Process 8280 exited with status 0xc0000005
>>>     Segmentation fault

>> I'm fairly certain that this is not Cygwin's ssh-keygen…

> I believe it is Cygwin's ssh-keygen because it is loading cygwin dlls too:
>     strace /usr/bin/ssh-keygen.exe -A
>     --- Process 14116 created
>     --- Process 14116 loaded C:\Windows\System32\ntdll.dll at 00007ffcbff90000
>     --- Process 14116 loaded C:\Windows\System32\kernel32.dll at 00007ffcbe610000
>     --- Process 14116 loaded C:\Windows\System32\KernelBase.dll at 00007ffcbd710000
>     --- Process 14116 loaded C:\Windows\System32\apphelp.dll at 00007ffcbaea0000
>     --- Process 14116 loaded C:\cygwin64\bin\cygcrypto-3.dll at 00000003ff8c0000
>     --- Process 14116 loaded C:\cygwin64\bin\cygwin1.dll at 00007ffc74c90000
>     --- Process 14116 loaded C:\cygwin64\bin\cyggcc_s-seh-1.dll at 00000003ff790000
>     --- Process 14116 loaded C:\cygwin64\bin\cygz.dll at 00000003feb50000
>         1       1 [main] ssh-keygen (14116) **********************************************
>       279     280 [main] ssh-keygen (14116) Program name: C:\cygwin64\bin\ssh-keygen.exe (windows pid
>     14116)
>       190     470 [main] ssh-keygen (14116) OS version:   Windows NT-10.0
>       125     595 [main] ssh-keygen (14116) **********************************************
>     --- Process 14116 loaded C:\Windows\System32\advapi32.dll at 00007ffcbfac0000
>     :
>     --- Process 14116 loaded C:\Windows\System32\ntmarta.dll at 00007ffcbc790000
>     --- Process 14116 thread 15044 created
>     --- Process 14116 thread 10544 created
>     --- Process 14116 thread 13588 created
>     --- Process 14116, exception c0000005 at 0000000000000000
>     --- Process 14116 thread 15044 exited with status 0x0
>     --- Process 14116 thread 10544 exited with status 0xc0000005
>     --- Process 14116 thread 14316 exited with status 0xc0000005
>     --- Process 14116 exited with status 0xc0000005
>     Segmentation fault
> 
> The Windows OpenSSH-Client is also installed in my VM:
>     strace /cygdrive/C/Windows/System32/OpenSSH/ssh-keygen.exe -A
>     --- Process 12532 created
>     --- Process 12532 loaded C:\Windows\System32\ntdll.dll at 00007ffcbff90000
>     --- Process 12532 loaded C:\Windows\System32\kernel32.dll at 00007ffcbe610000
>     --- Process 12532 loaded C:\Windows\System32\KernelBase.dll at 00007ffcbd710000
>     --- Process 12532 loaded C:\Windows\System32\apphelp.dll at 00007ffcbaea0000
>     :
>     --- Process 12532 loaded C:\Windows\System32\winrnr.dll at 00007ffc77150000
>     ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519
>     --- Process 12532 unloaded DLL at 00007ffc77110000
>     :
>     and all keys are created in C:\ProgramData\ssh
> 
> So it looks like cygwin ssh-keygen.exe have a problem :(
> BTW: similar Segmentation faults I have with "strace /usr/sbin/sshd.exe --help" as well as with
> "strace /usr/bin/ssh.exe --help".
> Both are loading cygwin dlls like cygcrypt-2.dll or cygiconv-2.dll as well as Windows dlls like
> ntdll.dll or kernel32.dll.
> 
> Any hints?

That intercept does not run under strace on my Win 10 latest patches system.
My strace shows DHCP contacted before running gethostname, then keygens.

Does this system run a legacy A/V?

Add to BLODA? - legacy embedded security provider interface:

https://learn.microsoft.com/en-us/previous-versions/windows/embedded/aa939264(v=winembedded.5)?redirectedfrom=MSDN

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

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

- Raw text -


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