From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by sourceware.org (Postfix) with ESMTPS id EAC573858C29 for ; Sun, 26 Nov 2023 19:21:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EAC573858C29 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 EAC573858C29 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=3.97.99.33 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 Received: from shw-obgw-4002a.ext.cloudfilter.net ([10.228.9.250]) by cmsmtp with ESMTPS id 7APzrHSfcB0n07KhHrDmP9; Sun, 26 Nov 2023 19:21:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1701026499; bh=ZxRtFJ3ztC0d/gM6pS/J1oRmLn1pgaBEhNoiGkQK1rg=; h=Date:Reply-To:Subject:To:References:From:In-Reply-To; b=YHxgToQBUFC2ZPjCv3nKl4nqNePw8xa1Je4askNZxMywW1wrV5LK4oOBJgXJ+LHKd yZV9ZiivaOxEDDKLul4bMr4dAkEpYxZPk1gYuLj+PvyxR2oX3+NSh4B50EN57itqeP Q9pZVRm1FbQ8N6TpvgyNzQt25b1KWGzQ7wA/ffLeDFVE+pIhO9twZ9JyOVaVZ5RzbT IQOJz9mex7VmTt+hnYCPR/0Ues0Y99aN3aXEh5X8EONkKHfuIbuCnVZU5M1UfWznGM T2p+3c7qyAsB/lTGtr1pS0CRr0+++ZB7Tm95JTj1X+HJpMslMdnhUyyVqOt8AaKmwR sTA5GqlbiYQfQ== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id 7KhGrdKdAnCF07KhGrv0Hh; Sun, 26 Nov 2023 19:21:39 +0000 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 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> From: Brian Inglis Organization: Inglis In-Reply-To: <4ae9d8388563c8b6c82801815b9c12ab9fca7081.camel@gmx.at> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 List-Id: 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