From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by sourceware.org (Postfix) with ESMTPS id 3C1583858CD1 for ; Mon, 27 Nov 2023 07:46:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3C1583858CD1 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmx.at Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmx.at ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3C1583858CD1 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=212.227.17.22 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.at; s=s31663417; t=1701071186; x=1701675986; i=matthias.meyer@gmx.at; bh=sa9P6F4Bv2NoDdtxeETotGXeBJYnRVkTZv9SOxTKm+8=; h=X-UI-Sender-Class:Subject:From:To:Cc:Date:In-Reply-To: References; b=ZvI0d3maWdc84Ei9qLgDx72QumYRRKWEc4WzisU3OwNDvOzUwXV0FQ2KQMVKLLrt 8fsXqCGEp0wSeE09bRsHV7L0jKQhgw750TaRGunkMe7CCIlhkFTWOfa4gY6aa1kLY q1nazRCE5O0c1WplFkSIgQEOJjHiDfC4BLXqm0Zrhb79VSv91QGVEkr997IFF+UXp cN7+TrbuvZi81LLheudegJbsv7rV+gVAO/CJhJ8KEdTz0SXO3vbIr6zOIBo17Tqgb N9yIObwtTg9aIhAmXE9mUOt/39xcwy1yoh6+5Lb9nxbAJTaegdfUyWxO6VUZqIl7Q DO2LZi8Gm0mg7Lx3Yw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from AthLux.PrivateLan.at ([81.217.74.80]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mel3t-1rg2C43naX-00alm7; Mon, 27 Nov 2023 08:46:26 +0100 Message-ID: <06a79feabf5e8906c14a02f2396212a80af9e6d9.camel@gmx.at> Subject: Re: Cygwin 3.4.9 - how to install ssh-keygen From: "Matthias@gmx.at" To: cygwin@cygwin.com Cc: Brian Inglis Date: Mon, 27 Nov 2023 08:46:25 +0100 In-Reply-To: <02eb842d-e2c7-4536-9602-67475d1804a7@Shaw.ca> References: <87jzq5y8nc.fsf@Gerda.invalid> <4ae9d8388563c8b6c82801815b9c12ab9fca7081.camel@gmx.at> <02eb842d-e2c7-4536-9602-67475d1804a7@Shaw.ca> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1+deb11u2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:dJrzLvxBt7GPbtdeG/GiDyJwTK2Sc56j8k42q6su0stru1LZ9sP 7nwUWRukztlAnkRmNotZa3DYZApwabpi3fVzvPiOAJw2EeprMRg+Q+DbWK8vxZ+PQuyzk1B qhBY/yq5m1a9nQIm+CVMzlE3rW30fytkcshXd5Tap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lBKOsO0HYU5yFYA2FVNc78VI= 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 List-Id: 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: > > > > =C2=A0=C2=A0=C2=A0 strace ssh-keygen -A > > > > =C2=A0=C2=A0=C2=A0 --- Process 8280 loaded C:\Windows\System32\ntm= arta.dll at 00007ffcbc790000 > > > > =C2=A0=C2=A0=C2=A0 --- Process 8280 thread 12528 created > > > > =C2=A0=C2=A0=C2=A0 --- Process 8280 thread 15124 created > > > > =C2=A0=C2=A0=C2=A0 --- Process 8280 thread 3324 created > > > > =C2=A0=C2=A0=C2=A0 --- Process 8280, exception c0000005 at 0000000= 000000000 > > > > =C2=A0=C2=A0=C2=A0 --- Process 8280 thread 12528 exited with statu= s 0x0 > > > > =C2=A0=C2=A0=C2=A0 --- Process 8280 loaded C:\Windows\System32\ker= nel.appcore.dll at 00007ffcbb550000 > > > > =C2=A0=C2=A0=C2=A0 --- Process 8280 thread 13908 exited with statu= s 0xc0000005 > > > > =C2=A0=C2=A0=C2=A0 --- Process 8280 thread 3324 exited with status= 0xc0000005 > > > > =C2=A0=C2=A0=C2=A0 --- Process 8280 exited with status 0xc0000005 > > > > =C2=A0=C2=A0=C2=A0 Segmentation fault > > > > I'm fairly certain that this is not Cygwin's ssh-keygen=E2=80=A6 > > > I believe it is Cygwin's ssh-keygen because it is loading cygwin dlls = too: > > =C2=A0=C2=A0=C2=A0 strace /usr/bin/ssh-keygen.exe -A > > =C2=A0=C2=A0=C2=A0 --- Process 14116 created > > =C2=A0=C2=A0=C2=A0 --- Process 14116 loaded C:\Windows\System32\ntdll.= dll at 00007ffcbff90000 > > =C2=A0=C2=A0=C2=A0 --- Process 14116 loaded C:\Windows\System32\kernel= 32.dll at 00007ffcbe610000 > > =C2=A0=C2=A0=C2=A0 --- Process 14116 loaded C:\Windows\System32\Kernel= Base.dll at 00007ffcbd710000 > > =C2=A0=C2=A0=C2=A0 --- Process 14116 loaded C:\Windows\System32\apphel= p.dll at 00007ffcbaea0000 > > =C2=A0=C2=A0=C2=A0 --- Process 14116 loaded C:\cygwin64\bin\cygcrypto-= 3.dll at 00000003ff8c0000 > > =C2=A0=C2=A0=C2=A0 --- Process 14116 loaded C:\cygwin64\bin\cygwin1.dl= l at 00007ffc74c90000 > > =C2=A0=C2=A0=C2=A0 --- Process 14116 loaded C:\cygwin64\bin\cyggcc_s-s= eh-1.dll at 00000003ff790000 > > =C2=A0=C2=A0=C2=A0 --- Process 14116 loaded C:\cygwin64\bin\cygz.dll a= t 00000003feb50000 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 1=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 1 [main] ssh-keygen (14116) *********************************= ************* > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 279=C2=A0=C2=A0=C2=A0=C2=A0 280 [main] = ssh-keygen (14116) Program name: C:\cygwin64\bin\ssh-keygen.exe > > (windows pid > > =C2=A0=C2=A0=C2=A0 14116) > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 190=C2=A0=C2=A0=C2=A0=C2=A0 470 [main] = ssh-keygen (14116) OS version:=C2=A0=C2=A0 Windows NT-10.0 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 125=C2=A0=C2=A0=C2=A0=C2=A0 595 [main] = ssh-keygen (14116) ********************************************** > > =C2=A0=C2=A0=C2=A0 --- Process 14116 loaded C:\Windows\System32\advapi= 32.dll at 00007ffcbfac0000 > > =C2=A0=C2=A0=C2=A0 : > > =C2=A0=C2=A0=C2=A0 --- Process 14116 loaded C:\Windows\System32\ntmart= a.dll at 00007ffcbc790000 > > =C2=A0=C2=A0=C2=A0 --- Process 14116 thread 15044 created > > =C2=A0=C2=A0=C2=A0 --- Process 14116 thread 10544 created > > =C2=A0=C2=A0=C2=A0 --- Process 14116 thread 13588 created > > =C2=A0=C2=A0=C2=A0 --- Process 14116, exception c0000005 at 0000000000= 000000 > > =C2=A0=C2=A0=C2=A0 --- Process 14116 thread 15044 exited with status 0= x0 > > =C2=A0=C2=A0=C2=A0 --- Process 14116 thread 10544 exited with status 0= xc0000005 > > =C2=A0=C2=A0=C2=A0 --- Process 14116 thread 14316 exited with status 0= xc0000005 > > =C2=A0=C2=A0=C2=A0 --- Process 14116 exited with status 0xc0000005 > > =C2=A0=C2=A0=C2=A0 Segmentation fault > > > > The Windows OpenSSH-Client is also installed in my VM: > > =C2=A0=C2=A0=C2=A0 strace /cygdrive/C/Windows/System32/OpenSSH/ssh-key= gen.exe -A > > =C2=A0=C2=A0=C2=A0 --- Process 12532 created > > =C2=A0=C2=A0=C2=A0 --- Process 12532 loaded C:\Windows\System32\ntdll.= dll at 00007ffcbff90000 > > =C2=A0=C2=A0=C2=A0 --- Process 12532 loaded C:\Windows\System32\kernel= 32.dll at 00007ffcbe610000 > > =C2=A0=C2=A0=C2=A0 --- Process 12532 loaded C:\Windows\System32\Kernel= Base.dll at 00007ffcbd710000 > > =C2=A0=C2=A0=C2=A0 --- Process 12532 loaded C:\Windows\System32\apphel= p.dll at 00007ffcbaea0000 > > =C2=A0=C2=A0=C2=A0 : > > =C2=A0=C2=A0=C2=A0 --- Process 12532 loaded C:\Windows\System32\winrnr= .dll at 00007ffc77150000 > > =C2=A0=C2=A0=C2=A0 ssh-keygen: generating new host keys: RSA DSA ECDSA= ED25519 > > =C2=A0=C2=A0=C2=A0 --- Process 12532 unloaded DLL at 00007ffc77110000 > > =C2=A0=C2=A0=C2=A0 : > > =C2=A0=C2=A0=C2=A0 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.ex= e --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 sys= tem. > 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/aa9= 39264(v=3Dwinembedded.5)?redirectedfrom=3DMSDN > > -- > Take care. Thanks, Brian Inglis=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Calgary, Alberta, Canada > > La perfection est atteinte=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Perfection= is achieved > non pas lorsqu'il n'y a plus rien =C3=A0 ajouter=C2=A0 not when there is= no more to add > mais lorsqu'il n'y a plus rien =C3=A0 retirer=C2=A0=C2=A0=C2=A0=C2=A0 bu= t when there is no more to cut > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -- Antoine de Saint-Exup= =C3=A9ry A/V is Antivirus? My VM is running Avira. Deactivating it haven't impact o= n ssh-keygen. I still have an Segmentation fault. Br Matthias