X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8058638582AC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1701071227; bh=h9KNqN/PqsVQZVndgEBtN7wZwVoK5bo1LdjFFV7skXg=; h=Subject:To:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=amaHmy9X1GGdxRHTyA9SlPLuH7giHKRQ6t2r5mzGByqK1C9H2NyDC4KBoqRQcVrEK p3qGOd4D+7ZVI6mOye6ByBHKoaPvSolBrsuEjqQWimiEvwA29UaIoPrNe3LjTuBmZz cxAbudrbglBXHExO280KdhaKHeWvRasE/Xn+GOFo= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3C1583858CD1 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3C1583858CD1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701071190; cv=none; b=sWTfjfVdccOZ5M18gWkC4WT6V2wH9FDp0F3LP8G9PSHgbsMWuMJQr52HYNHDKE0kLOujz22XfeSRYJuhgUDd28pzkmFaSMP0UXHdAkE3s5Z7XfgQ94Kb5zW1uLsM/ZUbb2y2aFPpNr4rPsRvP3tcJ2vTquFjXIeIVmaArLdvSAE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701071190; c=relaxed/simple; bh=sa9P6F4Bv2NoDdtxeETotGXeBJYnRVkTZv9SOxTKm+8=; h=DKIM-Signature:Message-ID:Subject:From:To:Date:MIME-Version; b=DDFy7wsEze46Ad2m21YVtZBUhAs6oU3m99/0EFfyOIDa8j9bhYuo1uhp1RmuXVd8pZnK1JiBDwwy/tM5IdDjNjcynuSYHbZCMYaE7W9Wvhdz2kJvltLneaWQlpBrA37ZFcEVi5soPkCfwr+X9A5BNgG+FW3sB/T6bgQgZO4zkRU= ARC-Authentication-Results: i=1; server2.sourceware.org X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Message-ID: <06a79feabf5e8906c14a02f2396212a80af9e6d9.camel@gmx.at> Subject: Re: Cygwin 3.4.9 - how to install ssh-keygen To: cygwin AT cygwin DOT com Date: Mon, 27 Nov 2023 08:46:25 +0100 In-Reply-To: <02eb842d-e2c7-4536-9602-67475d1804a7@Shaw.ca> References: <87jzq5y8nc DOT fsf AT Gerda DOT invalid> <4ae9d8388563c8b6c82801815b9c12ab9fca7081 DOT camel AT gmx DOT at> <02eb842d-e2c7-4536-9602-67475d1804a7 AT Shaw DOT ca> User-Agent: Evolution 3.38.3-1+deb11u2 MIME-Version: 1.0 X-Provags-ID: V03:K1:dJrzLvxBt7GPbtdeG/GiDyJwTK2Sc56j8k42q6su0stru1LZ9sP 7nwUWRukztlAnkRmNotZa3DYZApwabpi3fVzvPiOAJw2EeprMRg+Q+DbWK8vxZ+PQuyzk1B qhBY/yq5m1a9nQIm+CVMzlE3rW30fytkcshXd5Tap2rKhx4nGEPJtfkDgNB9wUdZQ62BdMN kQSTuwbKK4YSdgZLLo9+A== UI-OutboundReport: notjunk:1;M01:P0:hARm/l5kKiE=;n1gAAqsn1NJnqZG5VYFteDujCDS 32DJv1qMV9J7LdH3rqJDALqfbXWO5mpyB6PDmg5ifpl+PXxtiKjA2imOWMyGmCeWwiDRWE7SP npj1uspzBYAVoEa5MkM8tBZ+k2ZqA8exa7kBYUCepst2dTzdZRf1bTPxgrbcr9YntOHty8PzM /x7DFtbtcPfD1eFMDitQrTQNnccM6CYTXbSfpLKpoxbsWP4I0DI2TlW3uaCxt2Ywphwirfi21 2MewB+N2yK/gxif/XoJx8kg9AtHNVgiC/L1X0RWBAwzDSBp3ozdSYSgiB3gnoU8Lmp2LIFDNu waZ/jgt4XTleGzpmC9Dwhou2UhBOYKD3YXBFLmg7WBxzMZ4iLJaMvpwFNxQWkvqf89f5qljLS z/Dr67lYDGm4wMuChOzNeqNJjTAfhAVe2Vozs+g7qjZHgIeeeTLoia6+3Tu0pzBTZpiUYayqj IZIEIT5/gL5E3wE39w2Z18pIlkxsMZ5H2bJdrIyuv96nNvjBJ1pjtTVM+AjOsmizy9u3ZrOry hKuLaVbvT8TKDGAfwyoyn8C85SMZKqnwA36ltdZOkRfuY45CU3/cvO4K/AI6t5svT/dpajbOM hfnNGKkIPIYxBIf+gF9g1ERv5UvYzkqUcuupD3D49a6alR6MecPxTjC/xilAlz0sGpA8tF+MK N9zjjPDM8AINqdhiZbij2vT/jrh11B+AFmngAjHcrVqEgqp20NaD7ym+/C9uN1wHZHgULJnTf 9qEHvBhMUOezLyfdJtUppTU+81o/f/0hCzdw6tSO95yt+xo+XRtTBMbHsEQxZE4WxYiWRNp9W M5SR0yI1RB6zcgwfnr7blR5bl1SPK+vLrKCpgMKccXztf/J1Yz6k95AWJT1r/R0Zr1CFAoLXU qH+NfuLK6VK2sIytASpeAo7NuTEq0ub16Tl3CYmAEb/4Si8HUtL9XNV/2yWvJnNTqnY32+9uN mSQlBKOsO0HYU5yFYA2FVNc78VI= X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Matthias--- via Cygwin Reply-To: "Matthias AT gmx DOT at" Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3AR7l8A2026708 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 > > -- > 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 A/V is Antivirus? My VM is running Avira. Deactivating it haven't impact on ssh-keygen. I still have an Segmentation fault. Br Matthias -- 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