public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Matthias@gmx.at" <matthias.meyer@gmx.at>
To: ASSI <Stromeko@nexgo.de>, cygwin@cygwin.com
Subject: Re: Cygwin 3.4.9 - how to install ssh-keygen
Date: Sun, 26 Nov 2023 18:12:37 +0100	[thread overview]
Message-ID: <4ae9d8388563c8b6c82801815b9c12ab9fca7081.camel@gmx.at> (raw)
In-Reply-To: <87jzq5y8nc.fsf@Gerda.invalid>

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


  reply	other threads:[~2023-11-26 17:12 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 [this message]
2023-11-26 19:21           ` Brian Inglis
2023-11-27  7:46             ` Matthias@gmx.at
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=4ae9d8388563c8b6c82801815b9c12ab9fca7081.camel@gmx.at \
    --to=matthias.meyer@gmx.at \
    --cc=Stromeko@nexgo.de \
    --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).