Cygwin 3.4.9 - how to install ssh-keygen
Matthias@gmx.at
matthias.meyer@gmx.at
Sun Nov 26 17:12:37 GMT 2023
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
More information about the Cygwin
mailing list