X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8B7F93858C36
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1701018775;
	bh=ICUntfU6bpGV1GrcjIwRmNat3aZuRG5dbXY+qI+O/qA=;
	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=RlLAD6IwUpKOZAZl7xs+V84KarLSUiDe2acr8NRulYEH/Q/DyMBwbx6z+4vGtY6pV
	 dKBwoEFZlCXjEj6Af9+LF0qtPCjHsgBzkjdRTPRGE1eTSEKGDaBcH6TQLAwoY3HFeG
	 Ped+byHDPTgYC8RwUMEhM2xXVJDaC/MrIrz52svI=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 833A73858CD1
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 833A73858CD1
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701018761; cv=none;
 b=HQbtayd+Ry/lqXkmWTSKoJoAkVQ4VEV3pu8iOGinQGUGTPyjjjtnJxDzWHDbclcckQrwBkge1FCN02Kw/FnZYayUaZp7XPR3LSf6+a5B+q8ghdvHOUcfV0CnOM2B40f0/bJQHT/GW2PRuGM6+O3PMJKo+B2MSi68BkUuX6NwDnw=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1701018761; c=relaxed/simple;
 bh=rH4bqxprdLW46qKg+NyNCYbdQcXf48+kkm5m3wK68bE=;
 h=DKIM-Signature:Message-ID:Subject:From:To:Date:MIME-Version;
 b=xRw3krVqKz1mS0/RJvazABhcaIj3KFVMPFz9NUt60ujNFccJlesVFdq7+OrSo326/c+HLu8M9GwZxNxlxoHY7uJb5V7oKsuxcFRCX+egaBvARCt3WNUAd78jFa2SyggCZ2zCshgedsKqvMau25JZFzsMOaILoQhrNOHD5hwYiv4=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Message-ID: <4ae9d8388563c8b6c82801815b9c12ab9fca7081.camel@gmx.at>
Subject: Re: Cygwin 3.4.9 - how to install ssh-keygen
To: ASSI <Stromeko@nexgo.de>, cygwin@cygwin.com
Date: Sun, 26 Nov 2023 18:12:37 +0100
In-Reply-To: <87jzq5y8nc.fsf@Gerda.invalid>
References: <cba6d8a9769ab61ef5e724607d0f32761b3f9308.camel@gmx.li>
 <cb49e2b78a4818e090b169cc88bfc497024b4d60.camel@gmx.li>
 <PH0PR16MB47825F25F55C915BD9505A75F5B8A@PH0PR16MB4782.namprd16.prod.outlook.com>
 <c1b9a9ba0d3c386dd2350e20a4b0013b7e5697de.camel@gmx.li>
 <87jzq5y8nc.fsf@Gerda.invalid>
User-Agent: Evolution 3.38.3-1+deb11u2 
MIME-Version: 1.0
X-Provags-ID: V03:K1:jmhmQQILfFX8zTHg3ugjsBvkIE6yswUPaoBJMiT0OWI7693S5mU
 9gycfat/to7Mel/VShyMExa9BchAlBh+x3KWh+aYZIxoA34+8EjcfWHZIhDWrpRdhC8V1SJ
 YMM4qDSCIF9ud/8x8ZQ3s2kf8WIug5rDlalbpdgZJ47KetAMjE3gsRbC8EhRWIFu0OD1vuy
 DXApdOYwNPCPGnJWTgJtQ==
UI-OutboundReport: notjunk:1;M01:P0:HUIWtI5KNek=;6QbtcZ/BEKNKdC8AnkzbfYugTr+
 PH24zdu7uqFrQYr7hRu/S1a+kPk7gtyx2Zr41Y8V4kGY4xQPAnFI0cmrimRGcqzk2LsYZ+5Al
 1MC6lch2sm2Z2dT4RU9dmunPYsyp6uB7H3+zuFNJ6gWReLSKV2QLcUx40+tfo11470q1BlUHp
 8cOuxd2rCo5oYS6fsl8y4PE6uXnRqYxT0rYC3Mb4OdYDjRIUEWa0rE0vazXkQEbKOtkhg+hxY
 PZTYtqMMg+E741TJ6LHxiNrNw20HN3LKqFAXR7SO3AQat3j+prYfKEGzD6s4xHznp3n/Gr+Ke
 VcUnRmkM4q4AC7nAs23ZztG7eOUJAGN1OUVk3BWBteKGHQyIHiWIMplTDeK6KHCLlsQ/InOb7
 Mtyfdyx8K5Sqenpe0xDCTgm0epv/MywXa+91Azcy2Bq7VaXSmhTWD7/5U7KPm/3dL5zkYldAB
 bXyx8iMRkiTuTP4ONYt5BJ6gAA67oBQWhDFU9P+f9wF7IKYr4FQSxE7AxgxR5SEK6pXSOuKSK
 zaxv2RMHj0VfciqHsvTaEdkVo24FKH3HlDnSm3Q/44ojPBT4tmhSxJRk1PUgGVMmxC34sxbNH
 o0nPyglSKRSROBNgdQAP8/7AoEsC0GsRXLdi51N/hhamXmop2LRJa1p8L55JtQnyJ3UrJdCR2
 TMP0G+hBPo7nDcrxO7v8WjseGi087+L4ERxZak4e1sQvn1imCvpSpA/CdSaDabQYuvTbf/F5A
 hnKUqcOte5TeuEq9so5uzGutoezxCYlXfSt34InuOxMcGlzfczS0e3Bm5tLRGDFZbk08E1YPS
 LRgvVOg/UaWk7Q/4sauZRfvX/Zf5Sy7loZ72brWH9+sLCSwWaBO1Y8F8RlQ2eAnusZsoXTOJQ
 yKqtTgHL3aYrx5ffDJKDBAlfqbbVpXbrhDFvAEaSNUSytGzKDkVHp2o8VumeFYwFvcKNRSkri
 CF+WFg==
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, 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
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Matthias--- via Cygwin <cygwin@cygwin.com>
Reply-To: "Matthias@gmx.at" <matthias.meyer@gmx.at>
Content-Type: text/plain; charset="utf-8"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3AQHCv3E031236

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…
>
>
> Regards,
> Achim.
> --
> +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
>
> Factory and User Sound Singles for Waldorf rackAttack:
> http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
>
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?

Thanks in advance
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

