From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id 5D5A23858D3C for ; Tue, 28 Nov 2023 23:37:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5D5A23858D3C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5D5A23858D3C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=3.97.99.32 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 Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTPS id 81u0rtvPV8jpT87eMrHyki; Tue, 28 Nov 2023 23:37:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1701214674; bh=+syQex60f807pmJx97co8H5B1LN55Od60FqpVeKBeIU=; h=Date:From:Reply-To:Subject:To:References:In-Reply-To; b=H5Eo3TwtmE5ykM3scbR1bB6yMuKJ5R7wWXmVKTwapM5ennBkvTpMJ9st+40os05vU Ikbj8WYqyzCdkypEneOvfNneN2ISYvCUyDqzO1UyGNqMYPKNJ/3YWYWhWKIACDzLO0 GgE2IplwYtKcf0EoKfb9NoPeL7p5ONGIh5hX5e4P8ZnV/0hVmelXv6kAFhC++6Z+GM 4Xvbk4MS7pOeWuXv2eY/D7YRXbMqOO2ozsKthXhidLfinDpeGxdtfI7+fw+YCd4bAc tyPY0yavPpymvViv/9gHHj0XaJuQd+Ws50DIErcPvfmj99hmfBtxy+l4D6c0Q8CfOs tLY+H+dD50f9Q== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id 87eMrd1HVU5YW87eMrO3uZ; Tue, 28 Nov 2023 23:37:54 +0000 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 From: Brian Inglis Reply-To: cygwin@cygwin.com Subject: Re: Cygwin 3.4.9 - how to install ssh-keygen Content-Language: en-CA To: cygwin@cygwin.com References: <87jzq5y8nc.fsf@Gerda.invalid> <4ae9d8388563c8b6c82801815b9c12ab9fca7081.camel@gmx.at> <02eb842d-e2c7-4536-9602-67475d1804a7@Shaw.ca> <06a79feabf5e8906c14a02f2396212a80af9e6d9.camel@gmx.at> Organization: Inglis In-Reply-To: <06a79feabf5e8906c14a02f2396212a80af9e6d9.camel@gmx.at> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 List-Id: On 2023-11-27 00:46, Matthias@gmx.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