From: "Matthias@gmx.at" <matthias.meyer@gmx.at>
To: cygwin@cygwin.com
Cc: Brian Inglis <Brian.Inglis@Shaw.ca>
Subject: Re: Cygwin 3.4.9 - how to install ssh-keygen
Date: Mon, 27 Nov 2023 08:46:25 +0100 [thread overview]
Message-ID: <06a79feabf5e8906c14a02f2396212a80af9e6d9.camel@gmx.at> (raw)
In-Reply-To: <02eb842d-e2c7-4536-9602-67475d1804a7@Shaw.ca>
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
next prev parent reply other threads:[~2023-11-27 7:46 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-20 16:54 Matthias@gmx.li
2023-11-20 17:16 ` Hans-Bernhard Bröker
2023-11-20 22:41 ` Lee
2023-11-21 8:19 ` Matthias@gmx.li
[not found] ` <CAObURJv33N9LRgB-47V2pPguGk0eKw+om29Ft80dNurVWPZPDw@mail.gmail.com>
2023-11-21 19:07 ` Fwd: " Hans-Bernhard Bröker
2023-11-21 19:35 ` Lee
2023-11-27 6:22 ` Marco Atzeri
2023-11-22 2:23 ` Brian Inglis
2023-11-22 7:40 ` Matthias@gmx.li
2023-11-22 15:23 ` Brian Inglis
2023-11-23 8:15 ` Matthias@gmx.li
2023-11-23 16:50 ` René Berber
2023-11-24 11:31 ` Matthias@gmx.li
2023-11-24 16:57 ` EXTERNAL SENDER: " Dale Lobb (Sys Admin)
2023-11-25 16:12 ` Matthias@gmx.li
2023-11-25 18:45 ` ASSI
2023-11-26 17:12 ` Matthias@gmx.at
2023-11-26 19:21 ` Brian Inglis
2023-11-27 7:46 ` Matthias@gmx.at [this message]
2023-11-28 23:37 ` Brian Inglis
2023-11-30 13:16 ` Cygwin 3.4.9 - how to install ssh-keygen - solved Matthias@gmx.at
2023-11-30 19:18 ` Jose Isaias Cabrera
2023-11-29 21:13 ` Cygwin 3.4.9 - how to install ssh-keygen Jose Isaias Cabrera
2023-11-29 21:38 ` Brian Inglis
2023-11-29 21:58 ` Jose Isaias Cabrera
2023-11-29 22:40 ` Brian Inglis
2023-11-29 21:56 ` Eliot Moss
2023-11-29 22:30 ` René Berber
2023-11-29 22:46 ` Brian Inglis
2023-11-30 1:03 ` Jose Isaias Cabrera
2023-11-30 1:33 ` Ken Brown
2023-11-30 8:00 ` Eirik Nordbrøden
2023-11-30 19:20 ` Jose Isaias Cabrera
2023-11-30 19:53 ` Jose Isaias Cabrera
2023-11-24 18:13 ` René Berber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=06a79feabf5e8906c14a02f2396212a80af9e6d9.camel@gmx.at \
--to=matthias.meyer@gmx.at \
--cc=Brian.Inglis@Shaw.ca \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).