delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/11/28/18:38:15

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0CB99387088F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1701214693;
bh=bzntyWwXNFkAUBYhCGhlc+XPpzylCISWRF+ghDF1pgA=;
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=vMnskQkybZfE6MLmA1z82/w7f6rU2EFlYUtG+JhF9zogCKBsO1ykuMcY95T3wIEDV
ucS+Ha5i7bYOVLwxIdpQCMj/oARGaem0zkruzCsAgrycVLS1bF1Ft5alyFIq4fUhTI
xRH40foKiDnKWWun75HRn5orybw+S3kxtLov/VGM=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5D5A23858D3C
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5D5A23858D3C
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701214677; cv=none;
b=Jl0uJfDk1qimU0qmIllveoXD1y1kYNqGjalHaIRIV7+2RX7DdhhFpW+nMT6D/D8yoPqqzjx5Ji1NKOSH5XLf1tIzXmz5t1ombt0/lb7raA+0kNmg5CrzilHVm33pr2HiRWXc8Nhc7mFDzG1psKkyqR1g78Pj5N+Z5s3QoHvDZUk=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1701214677; c=relaxed/simple;
bh=+syQex60f807pmJx97co8H5B1LN55Od60FqpVeKBeIU=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:From:Subject:To;
b=aFBWgkjbBgU0jI9JRYYtLxWYkOe9hJNphdaEzySFCTglL1zqUpDtq4kBBbpOpCWMBWV3LRmwWlFI0YMR0weKM4Pi+qAML7bpScDnd6SOecpKhr+lNXLDEeYqP+esainpK/U7TM5I+RD//SQWlwTyHrZCcbWLR+Eee2zd0HEFSJ0=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Authority-Analysis: v=2.4 cv=CZQbWZnl c=1 sm=1 tr=0 ts=656679d2
a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17
a=IkcTkHD0fZMA:10 a=yMhMjlubAAAA:8 a=j9ccMSGhAAAA:8 a=2ZeaA0GJ5irj45WnpOEA:9
a=QEXdDO2ut3YA:10
Message-ID: <5a0a9d55-5913-4851-a8d0-abdf6693da94@Shaw.ca>
Date: Tue, 28 Nov 2023 16:37:54 -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>
<02eb842d-e2c7-4536-9602-67475d1804a7 AT Shaw DOT ca>
<06a79feabf5e8906c14a02f2396212a80af9e6d9 DOT camel AT gmx DOT at>
Organization: Inglis
In-Reply-To: <06a79feabf5e8906c14a02f2396212a80af9e6d9.camel@gmx.at>
X-CMAE-Envelope: MS4xfA7X/TVRwi6QQPVIlxAqN+anRW9IrInrLkRRCqqZbxfSZfxftXKMuMsbrAvH6ac488Yr7h3L2csmuGm6jKFgNJYHDJlknPDDOiBwQGSSyYJ+/EfdwEa2
QVoZIXuyWfqNMm7+ryTQjjDPT3pTSMPMfrshza4NPXi7ZsC9OTIIDzx6CJiqnWDi5Eeck0MW85ajCQ==
X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, BODY_8BITS,
DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW,
RCVD_IN_MSPIKE_H3, 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 3ASNcEfd017309

On 2023-11-27 00:46, Matthias AT gmx DOT at wrote:
> Am Sonntag, dem 26.11.2023 um 12:21 -0700 schrieb Brian Inglis via Cygwin:
>> 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

> A/V is Antivirus? My VM is running Avira. Deactivating it haven't impact on ssh-keygen. I still have
> an Segmentation fault.

Does the cygcheck, ldd, or strace still show ntmarta?

If so, then it is likely the intercept might be installed and need uninstalled 
to deactivate!

If you are running Avira Free, I get:

	https://www.avira.com/en/free-antivirus-windows

"System Requirements

Your device is not compatible

Operating systems

Microsoft Windows 7 Service Pack 1 or above with the newest updates, hotfixes, 
and service packs installed

RAM

2 GB of RAM or more

Disk Space

Minimum 2 GB of free disk space (additional space for temporary and quarantine 
files needed)

CPU type

Intel Pentium 4 / AMD Athlon 64 Processor or faster (with support for the SSE2 
instructions set)

Browser:

Internet Explorer 11 or newer

Additional requirements

To install, you’ll need administrator rights, an internet connection, and a web 
browser. For automatic antivirus updates and optimal malware detection, you’ll 
need an internet connection"

So you should try that page from the system with issues, and try something else 
if you get the same response, as it appears that is pretty old code running, or 
just try something newer like MS Windows Security/Defender/etc.

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