Re: Cygwin 3.4.9 - how to install ssh-keygen
On Wednesday, November 29, 2023 08:03 PM, Jose Isaias Cabrera expressed: > > On Wednesday, November 29, 2023 05:46 PM, Brian Inglis expressed: > > > Great catch - Citrix is on BLODA as it tries to intercept a lot in every > > app: > [clip] > > Dirty-dirty-dirty! Citrix ;^> > > Well, it's not Citrix. I have Citrix in all my machines (work stuff) and those > instances of cygwin work ok. But, in any case, I disabled it, reinstalled > everything, and still no luck. However, if I turn off the Windows Firewall, it > works. So, now I have to figure that out. If anyone has any ideas, please let > me know. I am going to start some internet searches and see what I can find. I am correcting myself on this one. It was Citrix and by re-installing and not checking the "application protection" checkbox, it's working. As we say in Spanish, just clearing the water... :-) -- 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
On Thursday, November 30, 2023 03:00 AM, Eirik Nordbrøden expressed: > > Hello > > I had problems with Cygwin SSH not working after enabling "application > protection" > in Citrix. Disabling this functionality in Citrix made Cygwin SSH start > working again. > > Eirik Nordbrøden, This was my problem also. -- 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
Re: Cygwin 3.4.9 - how to install ssh-keygen - solved
On Thursday, November 30, 2023 08:16 AM, Matthias--- expressed: > Hello, > > After removing Citrix and install it again without "app protection", my > segmentation fault has gone. > All is working now :) > It looks like this app protection is the reason for the segmentation fault. > > > Thank you for all the hints and your support > Matthias Indeed, Matthias is correct. I re-installed Citrix without the application protection and I am now back on business. Thanks all for the support and willing to help. -- 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
Re: Cygwin 3.4.9 - how to install ssh-keygen - solved
Hello, After removing Citrix and install it again without "app protection", my segmentation fault has gone. All is working now :) It looks like this app protection is the reason for the segmentation fault. Thank you for all the hints and your support 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
RE: Cygwin 3.4.9 - how to install ssh-keygen
Hello I had problems with Cygwin SSH not working after enabling "application protection" in Citrix. Disabling this functionality in Citrix made Cygwin SSH start working again. Eirik Nordbrøden, (+47) 90174789 > -Original Message- > From: Cygwin bounces+eirik.nordbroden=netnordic@cygwin.com> On Behalf Of Jose > Isaias Cabrera via Cygwin > Sent: torsdag 30. november 2023 02:03 > To: cygwin > Subject: Re: Cygwin 3.4.9 - how to install ssh-keygen > > On Wednesday, November 29, 2023 05:46 PM, Brian Inglis expressed: > > > Great catch - Citrix is on BLODA as it tries to intercept a lot in every > > app: > [clip] > > Dirty-dirty-dirty! Citrix ;^> > > Well, it's not Citrix. I have Citrix in all my machines (work stuff) and those > instances of cygwin work ok. But, in any case, I disabled it, reinstalled > everything, and still no luck. However, if I turn off the Windows Firewall, it > works. So, now I have to figure that out. If anyone has any ideas, please let > me > know. I am going to start some internet searches and see what I can find. > > > > -- > 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 -- 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
On 11/29/2023 8:03 PM, Jose Isaias Cabrera via Cygwin wrote: On Wednesday, November 29, 2023 05:46 PM, Brian Inglis expressed: However, if I turn off the Windows Firewall, it works. So, now I have to figure that out. You need to create a firewall exception for sshd on the machine you're trying to ssh into. Ken -- 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
On Wednesday, November 29, 2023 05:46 PM, Brian Inglis expressed: > Great catch - Citrix is on BLODA as it tries to intercept a lot in every app: [clip] > Dirty-dirty-dirty! Citrix ;^> Well, it's not Citrix. I have Citrix in all my machines (work stuff) and those instances of cygwin work ok. But, in any case, I disabled it, reinstalled everything, and still no luck. However, if I turn off the Windows Firewall, it works. So, now I have to figure that out. If anyone has any ideas, please let me know. I am going to start some internet searches and see what I can find. -- 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
On 2023-11-29 15:30, René Berber via Cygwin wrote: On 11/29/2023 3:13 PM, Jose Isaias Cabrera via Cygwin wrote: [snip] --- Process 23800 loaded C:\Program Files (x86)\Citrix\ICA Client\epclient64.dll at 7ffe0007 [snip] Try getting rid of Citrix. Its the only significant difference I see with my working ssh trace (and all the other Windows libraries that one seems to pull just below the quoted line). That seems to produce the crash in the Cygwin dll. Perhaps using some of the same space? Great catch - Citrix is on BLODA as it tries to intercept a lot in every app: https://cygwin.com/faq/faq.html#faq.using.bloda links to https://support.citrix.com/article/CTX107825/how-to-disable-citrix-api-hooks-on-a-perapplication-basis "Features are implemented by loading a number of DLL modules into the address space of each application and hooking certain API calls." Dirty-dirty-dirty! Citrix ;^> -- 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 -- 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
On 2023-11-29 14:58, Jose Isaias Cabrera wrote: On Wednesday, November 29, 2023 04:38 PM, Brian Inglis expressed: Make sure none of the ssh bits are running and add a system startup scheduled task to shut them down and perhaps also start Cygwin services e.g. $ sc queryex state= all | grep -i ssh jcabrera@jicman ~ $ sc queryex state= all | grep -i ssh No output. $ for s in ssh{d,dbroker,-agent}; do sc queryex $s; done for s in ssh{d,dbroker,-agent}; do sc queryex $s; done [SC] EnumQueryServicesStatus:OpenService FAILED 1060: The specified service does not exist as an installed service. [SC] EnumQueryServicesStatus:OpenService FAILED 1060: The specified service does not exist as an installed service. [SC] EnumQueryServicesStatus:OpenService FAILED 1060: The specified service does not exist as an installed service. jcabrera@jicman ~ The services do not exists. $ for s in ssh{d,dbroker,-agent}; do sc stop $s sleep 1 net stop $s sleep 1 sc config $srv start= disabled sc qc $s sc queryex $s done jcabrera@jicman ~ $ for s in ssh{d,dbroker,-agent}; do sc stop $s sleep 1 net stop $s sleep 1 sc config $srv start= disabled sc qc $s sc queryex $s done [SC] OpenService FAILED 1060: [clipped] These also failed. Great - there are no (MS) ssh services running on your system, so no conflicts! -- 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 -- 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
On 11/29/2023 3:13 PM, Jose Isaias Cabrera via Cygwin wrote: [snip] --- Process 23800 loaded C:\Program Files (x86)\Citrix\ICA Client\epclient64.dll at 7ffe0007 [snip] Try getting rid of Citrix. Its the only significant difference I see with my working ssh trace (and all the other Windows libraries that one seems to pull just below the quoted line). That seems to produce the crash in the Cygwin dll. Perhaps using some of the same space? HTH -- R. Berber -- 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
On Wednesday, November 29, 2023 04:38 PM, Brian Inglis expressed: > > Make sure none of the ssh bits are running and add a system startup scheduled > task to shut them down and perhaps also start Cygwin services e.g. > > $ sc queryex state= all | grep -i ssh jcabrera@jicman ~ $ sc queryex state= all | grep -i ssh No output. > $ for s in ssh{d,dbroker,-agent}; do sc queryex $s; done for s in ssh{d,dbroker,-agent}; do sc queryex $s; done [SC] EnumQueryServicesStatus:OpenService FAILED 1060: The specified service does not exist as an installed service. [SC] EnumQueryServicesStatus:OpenService FAILED 1060: The specified service does not exist as an installed service. [SC] EnumQueryServicesStatus:OpenService FAILED 1060: The specified service does not exist as an installed service. jcabrera@jicman ~ The services do not exists. > $ for s in ssh{d,dbroker,-agent}; do > sc stop $s > sleep 1 > net stop$s > sleep 1 > sc config $srv start= disabled > sc qc $s > sc queryex $s > done jcabrera@jicman ~ $ for s in ssh{d,dbroker,-agent}; do sc stop $s sleep 1 net stop$s sleep 1 sc config $srv start= disabled sc qc $s sc queryex $s done [SC] OpenService FAILED 1060: [clipped] These also failed. -- 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
On 11/29/2023 4:13 PM, Jose Isaias Cabrera via Cygwin wrote: On Monday, November 27, 2023 02:46 AM, Matthias--- expressed: 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 A/V is Antivirus? My VM is running Avira. Deactivating it haven't impact on ssh-keygen. I still have an Segmentation fault. Pardon the high jacking of this threat, but I may have the same problem (or, at least, it's related). I can start another thread if it is desired... I am having the same problem with ssh. So, a little history... This is a fresh Windows 11 Cygwin installation. Everything works great, except using ssh. For example, when I type, jcabrera@jicman ~ $ ssh jic@web jcabrera@jicman ~ $ I get the prompt right away. I found out that Windows 11 comes with OpenSSH installed. I uninstalled it, rebooted, and reinstalled cygwin's openssh, and the problem is still there. I don't have any antivirus, except Microsoft's Defender, but I added two folder exclussions (c:\cygwin64 and the download folder for xmission download site). The strace of ssh is pretty long: == beg strace ssh == $ strace ssh --- Process 23800 created --- Process 23800 loaded C:\Windows\System32\ntdll.dll at 7ffe2241 --- Process 23800 loaded C:\Windows\System32\kernel32.dll at 7ffe20e2 --- Process 23800 loaded C:\Windows\System32\KernelBase.dll at 7ffe1f78 --- Process 23800 loaded C:\cygwin64\bin\cygcrypto-1.1.dll at 0003f6ce --- Process 23800 loaded C:\cygwin64\bin\cygwin1.dll at 7ffd8efa --- Process 23800 loaded C:\cygwin64\bin\cyggssapi_krb5-2.dll at 0003f40d --- Process 23800 loaded C:\cygwin64\bin\cygz.dll at 0003ee23 --- Process 23800 loaded C:\cygwin64\bin\cyggcc_s-seh-1.dll at 0003f4c3 --- Process 23800 loaded C:\cygwin64\bin\cygk5crypto-3.dll at 0003f0f0 --- Process 23800 loaded C:\cygwin64\bin\cygkrb5-3.dll at 0003f0e3 --- Process 23800 loaded C:\cygwin64\bin\cygkrb5support-0.dll at 0003f0e1 --- Process 23800 loaded C:\cygwin64\bin\cygcom_err-2.dll at 0003f724 --- Process 23800 loaded C:\cygwin64\bin\cygintl-8.dll at 0003f12e --- Process 23800 loaded C:\cygwin64\bin\cygiconv-2.dll at 0003f317 1 1 [main] ssh (23800) ** 94 95 [main] ssh (23800) Program name: C:\cygwin64\bin\ssh.exe (windows pid 23800) 59 154 [main] ssh (23800) OS version: Windows NT-10.0 78 232 [main] ssh (23800) ** --- Process 23800 loaded C:\Windows\System32\advapi32.dll at 7ffe202b --- Process 23800 loaded C:\Windows\System32\msvcrt.dll at 7ffe20d4 --- Process 23800 loaded C:\Windows\System32\sechost.dll at 7ffe203a --- Process 23800 loaded C:\Windows\System32\rpcrt4.dll at 7ffe2203 --- Process 23800 loaded C:\Windows\System32\cryptbase.dll at 7ffe1efd --- Process 23800 loaded C:\Windows\System32\bcryptprimitives.dll at 7ffe1fc5 94399671 [main] ssh (23800) sigprocmask: 0 = sigprocmask (0, 0x0, 0x7FFD8F2793B0) 439 10110 [main] ssh (23800) open_shared: name shared.5, shared 0x1A000 (wanted 0x1A000), h 0x118, m 0, created 0 152 10262 [main] ssh (23800) user_heap_info::init: heap base 0xA, heap top 0xA, heap size 0x2000 (536870912) 76 10338 [main] ssh (23800) open_shared: name S-1-5-21-1074337292-3126344265-1178006881-1002.1, shared 0x1A100 (wanted 0x1A100), h 0x114, m 1, created 0 87 10425 [main] ssh (23800) user_info::create: opening user shared for 'S-1-5-21-1074337292-3126344265-1178006881-1002' at 0x1A100 73 10498 [main] ssh (23800) user_info::create: user shared version AB1FCCE8 74 10572 [main] ssh (23800) fhandler_pipe::create: name \\.\pipe\cygwin-e022582115c10879-23800-sigwait, size 11440, mode PIPE_TYPE_MESSAGE 86 10658 [main] ssh (23800) fhandler_pipe::create: pipe read handle 0x12C 52 10710 [main] ssh (23800) fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-e022582115c10879-23800-sigwait 71 10781 [main] ssh (23800) fhandler_pipe::create: pipe write handle 0x130 55 10836 [main] ssh (23800) dll_crt0_0: finished dll_crt0_0 initialization --- Process 23800 loaded C:\Program Files (x86)\Citrix\ICA Client\epclient64.dll at 7ffe0007 --- Process 23800 loaded C:\Windows\System32\user32.dll at 7ffe21e2 --- Process 23800 loaded C:\Windows\System32\win32u.dll at 7ffe2013 --- Process 23800 loaded C:\Windows\System32\gdi32.dll at 7ffe20df --- Process 23800 loaded C:\Windows\System32\gdi32full.dll at 7ffe1fea --- Process 23800 loaded C:\Windows\System32\msvcp_win.dll at 7ffe1fcd --- Pr
Re: Cygwin 3.4.9 - how to install ssh-keygen
On 2023-11-29 14:13, Jose Isaias Cabrera via Cygwin wrote: On Monday, November 27, 2023 02:46 AM, Matthias--- expressed: 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 A/V is Antivirus? My VM is running Avira. Deactivating it haven't impact on ssh-keygen. I still have an Segmentation fault. Pardon the high jacking of this threat, but I may have the same problem (or, at least, it's related). I can start another thread if it is desired... I am having the same problem with ssh. So, a little history... This is a fresh Windows 11 Cygwin installation. Everything works great, except using ssh. For example, when I type, jcabrera@jicman ~ $ ssh jic@web jcabrera@jicman ~ $ I get the prompt right away. I found out that Windows 11 comes with OpenSSH installed. I uninstalled it, rebooted, and reinstalled cygwin's openssh, and the problem is still there. I don't have any antivirus, except Microsoft's Defender, but I added two folder exclussions (c:\cygwin64 and the download folder for xmission download site). The strace of ssh is pretty long: == beg strace ssh == $ strace ssh --- Process 23800 created --- Process 23800 loaded C:\Windows\System32\ntdll.dll at 7ffe2241 --- Process 23800 loaded C:\Windows\System32\kernel32.dll at 7ffe20e2 --- Process 23800 loaded C:\Windows\System32\KernelBase.dll at 7ffe1f78 --- Process 23800 loaded C:\cygwin64\bin\cygcrypto-1.1.dll at 0003f6ce --- Process 23800 loaded C:\cygwin64\bin\cygwin1.dll at 7ffd8efa --- Process 23800 loaded C:\cygwin64\bin\cyggssapi_krb5-2.dll at 0003f40d --- Process 23800 loaded C:\cygwin64\bin\cygz.dll at 0003ee23 --- Process 23800 loaded C:\cygwin64\bin\cyggcc_s-seh-1.dll at 0003f4c3 --- Process 23800 loaded C:\cygwin64\bin\cygk5crypto-3.dll at 0003f0f0 --- Process 23800 loaded C:\cygwin64\bin\cygkrb5-3.dll at 0003f0e3 --- Process 23800 loaded C:\cygwin64\bin\cygkrb5support-0.dll at 0003f0e1 --- Process 23800 loaded C:\cygwin64\bin\cygcom_err-2.dll at 0003f724 --- Process 23800 loaded C:\cygwin64\bin\cygintl-8.dll at 0003f12e --- Process 23800 loaded C:\cygwin64\bin\cygiconv-2.dll at 0003f317 1 1 [main] ssh (23800) ** 94 95 [main] ssh (23800) Program name: C:\cygwin64\bin\ssh.exe (windows pid 23800) 59 154 [main] ssh (23800) OS version: Windows NT-10.0 78 232 [main] ssh (23800) ** --- Process 23800 loaded C:\Windows\System32\advapi32.dll at 7ffe202b --- Process 23800 loaded C:\Windows\System32\msvcrt.dll at 7ffe20d4 --- Process 23800 loaded C:\Windows\System32\sechost.dll at 7ffe203a --- Process 23800 loaded C:\Windows\System32\rpcrt4.dll at 7ffe2203 --- Process 23800 loaded C:\Windows\System32\cryptbase.dll at 7ffe1efd --- Process 23800 loaded C:\Windows\System32\bcryptprimitives.dll at 7ffe1fc5 94399671 [main] ssh (23800) sigprocmask: 0 = sigprocmask (0, 0x0, 0x7FFD8F2793B0) 439 10110 [main] ssh (23800) open_shared: name shared.5, shared 0x1A000 (wanted 0x1A000), h 0x118, m 0, created 0 152 10262 [main] ssh (23800) user_heap_info::init: heap base 0xA, heap top 0xA, heap size 0x2000 (536870912) 76 10338 [main] ssh (23800) open_shared: name S-1-5-21-1074337292-3126344265-1178006881-1002.1, shared 0x1A100 (wanted 0x1A100), h 0x114, m 1, created 0 87 10425 [main] ssh (23800) user_info::create: opening user shared for 'S-1-5-21-1074337292-3126344265-1178006881-1002' at 0x1A100 73 10498 [main] ssh (23800) user_info::create: user shared version AB1FCCE8 74 10572 [main] ssh (23800) fhandler_pipe::create: name \\.\pipe\cygwin-e022582115c10879-23800-sigwait, size 11440, mode PIPE_TYPE_MESSAGE 86 10658 [main] ssh (23800) fhandler_pipe::create: pipe read handle 0x12C 52 10710 [main] ssh (23800) fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-e022582115c10879-23800-sigwait 71 10781 [main] ssh (23800) fhandler_pipe::create: pipe write handle 0x130 55 10836 [main] ssh (23800) dll_crt0_0: finished dll_crt0_0 initialization --- Process 23800 loaded C:\Program Files (x86)\Citrix\ICA Client\epclient64.dll at 7ffe0007 --- Process 23800 loaded C:\Windows\System32\user32.dll at 7ffe21e2 --- Process 23800 loaded C:\Windows\System32\win32u.dll at 7ffe2013 --- Process 23800 loaded C:\Windows\System32\gdi32.dll at 7ffe20df --- Process 23800 loaded C:\Windows\System32\gdi32full.dll at 7ffe1fea --- Process 23800 loaded C:\Windows\System32\msvcp_win.dll at 7ffe1fcd --- Proc
Re: Cygwin 3.4.9 - how to install ssh-keygen
On Monday, November 27, 2023 02:46 AM, Matthias--- expressed: > > 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 > A/V is Antivirus? My VM is running Avira. Deactivating it > haven't impact on ssh-keygen. I still have > an Segmentation fault. Pardon the high jacking of this threat, but I may have the same problem (or, at least, it's related). I can start another thread if it is desired... I am having the same problem with ssh. So, a little history... This is a fresh Windows 11 Cygwin installation. Everything works great, except using ssh. For example, when I type, jcabrera@jicman ~ $ ssh jic@web jcabrera@jicman ~ $ I get the prompt right away. I found out that Windows 11 comes with OpenSSH installed. I uninstalled it, rebooted, and reinstalled cygwin's openssh, and the problem is still there. I don't have any antivirus, except Microsoft's Defender, but I added two folder exclussions (c:\cygwin64 and the download folder for xmission download site). The strace of ssh is pretty long: == beg strace ssh == $ strace ssh --- Process 23800 created --- Process 23800 loaded C:\Windows\System32\ntdll.dll at 7ffe2241 --- Process 23800 loaded C:\Windows\System32\kernel32.dll at 7ffe20e2 --- Process 23800 loaded C:\Windows\System32\KernelBase.dll at 7ffe1f78 --- Process 23800 loaded C:\cygwin64\bin\cygcrypto-1.1.dll at 0003f6ce --- Process 23800 loaded C:\cygwin64\bin\cygwin1.dll at 7ffd8efa --- Process 23800 loaded C:\cygwin64\bin\cyggssapi_krb5-2.dll at 0003f40d --- Process 23800 loaded C:\cygwin64\bin\cygz.dll at 0003ee23 --- Process 23800 loaded C:\cygwin64\bin\cyggcc_s-seh-1.dll at 0003f4c3 --- Process 23800 loaded C:\cygwin64\bin\cygk5crypto-3.dll at 0003f0f0 --- Process 23800 loaded C:\cygwin64\bin\cygkrb5-3.dll at 0003f0e3 --- Process 23800 loaded C:\cygwin64\bin\cygkrb5support-0.dll at 0003f0e1 --- Process 23800 loaded C:\cygwin64\bin\cygcom_err-2.dll at 0003f724 --- Process 23800 loaded C:\cygwin64\bin\cygintl-8.dll at 0003f12e --- Process 23800 loaded C:\cygwin64\bin\cygiconv-2.dll at 0003f317 1 1 [main] ssh (23800) ** 94 95 [main] ssh (23800) Program name: C:\cygwin64\bin\ssh.exe (windows pid 23800) 59 154 [main] ssh (23800) OS version: Windows NT-10.0 78 232 [main] ssh (23800) ** --- Process 23800 loaded C:\Windows\System32\advapi32.dll at 7ffe202b --- Process 23800 loaded C:\Windows\System32\msvcrt.dll at 7ffe20d4 --- Process 23800 loaded C:\Windows\System32\sechost.dll at 7ffe203a --- Process 23800 loaded C:\Windows\System32\rpcrt4.dll at 7ffe2203 --- Process 23800 loaded C:\Windows\System32\cryptbase.dll at 7ffe1efd --- Process 23800 loaded C:\Windows\System32\bcryptprimitives.dll at 7ffe1fc5 94399671 [main] ssh (23800) sigprocmask: 0 = sigprocmask (0, 0x0, 0x7FFD8F2793B0) 439 10110 [main] ssh (23800) open_shared: name shared.5, shared 0x1A000 (wanted 0x1A000), h 0x118, m 0, created 0 152 10262 [main] ssh (23800) user_heap_info::init: heap base 0xA, heap top 0xA, heap size 0x2000 (536870912) 76 10338 [main] ssh (23800) open_shared: name S-1-5-21-1074337292-3126344265-1178006881-1002.1, shared 0x1A100 (wanted 0x1A100), h 0x114, m 1, created 0 87 10425 [main] ssh (23800) user_info::create: opening user shared for 'S-1-5-21-1074337292-3126344265-1178006881-1002' at 0x1A100 73 10498 [main] ssh (23800) user_info::create: user shared version AB1FCCE8 74 10572 [main] ssh (23800) fhandler_pipe::create: name \\.\pipe\cygwin-e022582115c10879-23800-sigwait, size 11440, mode PIPE_TYPE_MESSAGE 86 10658 [main] ssh (23800) fhandler_pipe::create: pipe read handle 0x12C 52 10710 [main] ssh (23800) fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-e022582115c10879-23800-sigwait 71 10781 [main] ssh (23800) fhandler_pipe::create: pipe write handle 0x130 55 10836 [main] ssh (23800) dll_crt0_0: finished dll_crt0_0 initialization --- Process 23800 loaded C:\Program Files (x86)\Citrix\ICA Client\epclient64.dll at 7ffe0007 --- Process 23800 loaded C:\Windows\System32\user32.dll at 7ffe21e2 --- Process 23800 loaded C:\Windows\System32\win32u.dll at 7ffe2013 --- Process 23800 loaded C:\Windows\System32\gdi32.dll at 7ffe20df --- Process 23800 loaded C:\Windows\System32\gdi32full.dll at 7ffe1fea --- Process 23800 loaded C:\Windows\System32\msvcp_win.dll at 7ffe1fcd --- Process 23800 loaded C:\Windows\System32\uc
Re: Cygwin 3.4.9 - how to install ssh-keygen
On 2023-11-27 00:46, matth...@gmx.at wrote: 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 7ffcbc79 --- Process 8280 thread 12528 created --- Process 8280 thread 15124 created --- Process 8280 thread 3324 created --- Process 8280, exception c005 at --- Process 8280 thread 12528 exited with status 0x0 --- Process 8280 loaded C:\Windows\System32\kernel.appcore.dll at 7ffcbb55 --- Process 8280 thread 13908 exited with status 0xc005 --- Process 8280 thread 3324 exited with status 0xc005 --- Process 8280 exited with status 0xc005 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 7ffcbff9 --- Process 14116 loaded C:\Windows\System32\kernel32.dll at 7ffcbe61 --- Process 14116 loaded C:\Windows\System32\KernelBase.dll at 7ffcbd71 --- Process 14116 loaded C:\Windows\System32\apphelp.dll at 7ffcbaea --- Process 14116 loaded C:\cygwin64\bin\cygcrypto-3.dll at 0003ff8c --- Process 14116 loaded C:\cygwin64\bin\cygwin1.dll at 7ffc74c9 --- Process 14116 loaded C:\cygwin64\bin\cyggcc_s-seh-1.dll at 0003ff79 --- Process 14116 loaded C:\cygwin64\bin\cygz.dll at 0003feb5 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 7ffcbfac : --- Process 14116 loaded C:\Windows\System32\ntmarta.dll at 7ffcbc79 --- Process 14116 thread 15044 created --- Process 14116 thread 10544 created --- Process 14116 thread 13588 created --- Process 14116, exception c005 at --- Process 14116 thread 15044 exited with status 0x0 --- Process 14116 thread 10544 exited with status 0xc005 --- Process 14116 thread 14316 exited with status 0xc005 --- Process 14116 exited with status 0xc005 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 7ffcbff9 --- Process 12532 loaded C:\Windows\System32\kernel32.dll at 7ffcbe61 --- Process 12532 loaded C:\Windows\System32\KernelBase.dll at 7ffcbd71 --- Process 12532 loaded C:\Windows\System32\apphelp.dll at 7ffcbaea : --- Process 12532 loaded C:\Windows\System32\winrnr.dll at 7ffc7715 ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 --- Process 12532 unloaded DLL at 7ffc7711 : 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 A/V is Antivirus? My VM is running Avira. Deactivating it haven't impact on ssh-keygen. I still have an Segmentation fault. Does the cygcheck, ldd, or strace still show ntmarta? If so, then it is likely the intercept might be installed and need uninstalled to deactivate! If you are running Avira Free, I get: https://www.avira.com/en/free-antivirus-windows "System Requirements Your device is not compatible Operating systems Microsoft Windows 7 Service Pack 1 or above with the newest updates, hotfixes, and service packs installed RAM 2 GB of RAM or more Disk Space Minimum 2 GB of free disk space (additional space for temporary and quarantine files needed) CPU type Intel Penti
Re: Cygwin 3.4.9 - how to install ssh-keygen
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 > > > > 7ffcbc79 > > > > --- Process 8280 thread 12528 created > > > > --- Process 8280 thread 15124 created > > > > --- Process 8280 thread 3324 created > > > > --- Process 8280, exception c005 at > > > > --- Process 8280 thread 12528 exited with status 0x0 > > > > --- Process 8280 loaded C:\Windows\System32\kernel.appcore.dll at > > > > 7ffcbb55 > > > > --- Process 8280 thread 13908 exited with status 0xc005 > > > > --- Process 8280 thread 3324 exited with status 0xc005 > > > > --- Process 8280 exited with status 0xc005 > > > > 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 > > 7ffcbff9 > > --- Process 14116 loaded C:\Windows\System32\kernel32.dll at > > 7ffcbe61 > > --- Process 14116 loaded C:\Windows\System32\KernelBase.dll at > > 7ffcbd71 > > --- Process 14116 loaded C:\Windows\System32\apphelp.dll at > > 7ffcbaea > > --- Process 14116 loaded C:\cygwin64\bin\cygcrypto-3.dll at > > 0003ff8c > > --- Process 14116 loaded C:\cygwin64\bin\cygwin1.dll at 7ffc74c9 > > --- Process 14116 loaded C:\cygwin64\bin\cyggcc_s-seh-1.dll at > > 0003ff79 > > --- Process 14116 loaded C:\cygwin64\bin\cygz.dll at 0003feb5 > > 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 > > 7ffcbfac > > : > > --- Process 14116 loaded C:\Windows\System32\ntmarta.dll at > > 7ffcbc79 > > --- Process 14116 thread 15044 created > > --- Process 14116 thread 10544 created > > --- Process 14116 thread 13588 created > > --- Process 14116, exception c005 at > > --- Process 14116 thread 15044 exited with status 0x0 > > --- Process 14116 thread 10544 exited with status 0xc005 > > --- Process 14116 thread 14316 exited with status 0xc005 > > --- Process 14116 exited with status 0xc005 > > 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 > > 7ffcbff9 > > --- Process 12532 loaded C:\Windows\System32\kernel32.dll at > > 7ffcbe61 > > --- Process 12532 loaded C:\Windows\System32\KernelBase.dll at > > 7ffcbd71 > > --- Process 12532 loaded C:\Windows\System32\apphelp.dll at > > 7ffcbaea > > : > > --- Process 12532 loaded C:\Windows\System32\winrnr.dll at > > 7ffc7715 > > ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 > > --- Process 12532 unloaded DLL at 7ffc7711 > > : > > 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
On 20.11.2023 23:41, Lee via Cygwin wrote: On Mon, Nov 20, 2023 at 11:54 AM Matthias wrote: Unfortunately I can't find ssh-keygen in the installable packages. Howto install ssh-keygen or how to create hostkeys? The easy way to see if it's already installed $ which ssh-keygen /usr/bin/ssh-keygen If no, Cygwin is a bit of a pain when looking for a program that's included in another package. Hi Lee, cygcheck can help here as it can ask the Cygwin website $ cygcheck -p bin/ssh-keygen Found 6 matches for bin/ssh-keygen openssh-debuginfo-9.3p2-1 - openssh-debuginfo: Debug info for openssh openssh-debuginfo-9.4p1-1 - openssh-debuginfo: Debug info for openssh openssh-debuginfo-9.5p1-1 - openssh-debuginfo: Debug info for openssh openssh-9.3p2-1 - openssh: The OpenSSH server and client programs openssh-9.4p1-1 - openssh: The OpenSSH server and client programs openssh-9.5p1-1 - openssh: The OpenSSH server and client programs Regards Lee Regards Marco -- 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
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 7ffcbc79 --- Process 8280 thread 12528 created --- Process 8280 thread 15124 created --- Process 8280 thread 3324 created --- Process 8280, exception c005 at --- Process 8280 thread 12528 exited with status 0x0 --- Process 8280 loaded C:\Windows\System32\kernel.appcore.dll at 7ffcbb55 --- Process 8280 thread 13908 exited with status 0xc005 --- Process 8280 thread 3324 exited with status 0xc005 --- Process 8280 exited with status 0xc005 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 7ffcbff9 --- Process 14116 loaded C:\Windows\System32\kernel32.dll at 7ffcbe61 --- Process 14116 loaded C:\Windows\System32\KernelBase.dll at 7ffcbd71 --- Process 14116 loaded C:\Windows\System32\apphelp.dll at 7ffcbaea --- Process 14116 loaded C:\cygwin64\bin\cygcrypto-3.dll at 0003ff8c --- Process 14116 loaded C:\cygwin64\bin\cygwin1.dll at 7ffc74c9 --- Process 14116 loaded C:\cygwin64\bin\cyggcc_s-seh-1.dll at 0003ff79 --- Process 14116 loaded C:\cygwin64\bin\cygz.dll at 0003feb5 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 7ffcbfac : --- Process 14116 loaded C:\Windows\System32\ntmarta.dll at 7ffcbc79 --- Process 14116 thread 15044 created --- Process 14116 thread 10544 created --- Process 14116 thread 13588 created --- Process 14116, exception c005 at --- Process 14116 thread 15044 exited with status 0x0 --- Process 14116 thread 10544 exited with status 0xc005 --- Process 14116 thread 14316 exited with status 0xc005 --- Process 14116 exited with status 0xc005 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 7ffcbff9 --- Process 12532 loaded C:\Windows\System32\kernel32.dll at 7ffcbe61 --- Process 12532 loaded C:\Windows\System32\KernelBase.dll at 7ffcbd71 --- Process 12532 loaded C:\Windows\System32\apphelp.dll at 7ffcbaea : --- Process 12532 loaded C:\Windows\System32\winrnr.dll at 7ffc7715 ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 --- Process 12532 unloaded DLL at 7ffc7711 : 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 -- 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
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 > > 7ffcbc79 > > --- Process 8280 thread 12528 created > > --- Process 8280 thread 15124 created > > --- Process 8280 thread 3324 created > > --- Process 8280, exception c005 at > > --- Process 8280 thread 12528 exited with status 0x0 > > --- Process 8280 loaded C:\Windows\System32\kernel.appcore.dll at > > 7ffcbb55 > > --- Process 8280 thread 13908 exited with status 0xc005 > > --- Process 8280 thread 3324 exited with status 0xc005 > > --- Process 8280 exited with status 0xc005 > > 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 7ffcbff9 --- Process 14116 loaded C:\Windows\System32\kernel32.dll at 7ffcbe61 --- Process 14116 loaded C:\Windows\System32\KernelBase.dll at 7ffcbd71 --- Process 14116 loaded C:\Windows\System32\apphelp.dll at 7ffcbaea --- Process 14116 loaded C:\cygwin64\bin\cygcrypto-3.dll at 0003ff8c --- Process 14116 loaded C:\cygwin64\bin\cygwin1.dll at 7ffc74c9 --- Process 14116 loaded C:\cygwin64\bin\cyggcc_s-seh-1.dll at 0003ff79 --- Process 14116 loaded C:\cygwin64\bin\cygz.dll at 0003feb5 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 7ffcbfac : --- Process 14116 loaded C:\Windows\System32\ntmarta.dll at 7ffcbc79 --- Process 14116 thread 15044 created --- Process 14116 thread 10544 created --- Process 14116 thread 13588 created --- Process 14116, exception c005 at --- Process 14116 thread 15044 exited with status 0x0 --- Process 14116 thread 10544 exited with status 0xc005 --- Process 14116 thread 14316 exited with status 0xc005 --- Process 14116 exited with status 0xc005 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 7ffcbff9 --- Process 12532 loaded C:\Windows\System32\kernel32.dll at 7ffcbe61 --- Process 12532 loaded C:\Windows\System32\KernelBase.dll at 7ffcbd71 --- Process 12532 loaded C:\Windows\System32\apphelp.dll at 7ffcbaea : --- Process 12532 loaded C:\Windows\System32\winrnr.dll at 7ffc7715 ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 --- Process 12532 unloaded DLL at 7ffc7711 : 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
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 7ffcbc79 >--- Process 8280 thread 12528 created >--- Process 8280 thread 15124 created >--- Process 8280 thread 3324 created >--- Process 8280, exception c005 at >--- Process 8280 thread 12528 exited with status 0x0 >--- Process 8280 loaded C:\Windows\System32\kernel.appcore.dll at > 7ffcbb55 >--- Process 8280 thread 13908 exited with status 0xc005 >--- Process 8280 thread 3324 exited with status 0xc005 >--- Process 8280 exited with status 0xc005 >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 -- 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
> > -Original Message- > > From: Cygwin > > On Behalf Of Matthias--- via Cygwin > > Sent: Friday, November 24, 2023 5:32 AM > > To: cygwin@cygwin.com > > Subject: EXTERNAL SENDER: Re: Cygwin 3.4.9 - how to install ssh-keygen > > > > Am Montag, dem 20.11.2023 um 17:54 +0100 schrieb mailto:matth...@gmx.li: > > > Dear all, > > > > > > I've installed cygwin 3.4.9-1 in my virtualbox running on Windows 10. > > > After installing defaults plus openssh 9.5p 1-1, I open the Cygwin64- > > Terminal as Administrator and > > > run ssh-host-config. > > > * Answered "yes" to create the /etc/ssh_config and /etc/sshd_config > > > * Answered "no" to use StrictMode > > > * and "yes" to install sshd as a service > > > * I just press for the question for "Value of CYGWIN for the > > > daemon". > > > cygrunsrv -S cygsshd will not start the sshd. The logfile say "no > > > hostkeys available". > > > > > > Unfortunately I can't find ssh-keygen in the installable packages. > > > Howto install ssh-keygen or how to create hostkeys? > > > > > > Thanks in advance > > > Matthias > > > > > Hello, > > > > I installed cygwin 3.4.9-1 with all defaults plus openssh 9.5p 1-1 plus > > rsync > > 3.2.7-1 in my virtualbox running on Windows 10 again. > > > > In /var/log/setup.log I found "can't run /etc/postinstall/openssl.sh: No > > such file" > > Anyhow, I opened the Cygwin64-Terminal as Administrator and run > > ssh-host-config > > but no host-keys has been created: > > $ ssh-host-config > > > > *** Info: Generating missing SSH host keys > > *** Info: Creating default /etc/ssh_config file > > *** Info: Creating default /etc/sshd_config file > > > > *** Info: StrictModes is set to 'yes' by default. > > *** Info: This is the recommended setting, but it requires that the POSIX > > *** Info: permissions of the user's home directory, the user's .ssh > > *** Info: directory, and the user's ssh key files are tight so that > > *** Info: only the user has write permissions. > > *** Info: On the other hand, StrictModes don't work well with default > > *** Info: Windows permissions of a home directory mounted with the > > *** Info: 'noacl' option, and they don't work at all if the home > > *** Info: directory is on a FAT or FAT32 partition. > > *** Query: Should StrictModes be used? (yes/no) no > > *** Info: Updating /etc/sshd_config file > > > > *** Query: Do you want to install sshd as a service? > > *** Query: (Say "no" if it is already installed as a service) (yes/no) > > yes > > *** Query: Enter the value of CYGWIN for the daemon: [] > > > > *** Info: The sshd service has been installed under the LocalSystem > > *** Info: account (also known as SYSTEM). To start the service now, call > > *** Info: `net start cygsshd' or `cygrunsrv -S cygsshd'. Otherwise, it > > *** Info: will start automatically after the next reboot. > > > > *** Info: Host configuration finished. Have fun! > > > > $ ls -alh /etc/ssh* > > -rw-r--r-- 1 SYSTEM Administratoren 1.5K Nov 24 12:02 /etc/ssh_config > > -rw-r--r-- 1 SYSTEM Administratoren 3.1K Nov 24 12:02 /etc/sshd_config > > > > Also running ssh-user-config don't create any keys: > > $ ssh-user-config > > *** Query: Shall I create a SSH2 RSA identity file for you? (yes/no) yes > > *** Info: Generating /home/meyer/.ssh/id_rsa > > *** Query: Do you want to use this identity to login to this machine? > > (yes/no) yes > > *** Info: Adding to /home/meyer/.ssh/authorized_keys > > cat: /home/meyer/.ssh/id_rsa.pub: No such file or directory > > *** Query: Shall I create a SSH2 DSA identity file for you? (yes/no) no > > *** Query: Shall I create a SSH2 ECDSA identity file for you? (yes/no) no > > *** Query: Shall I create a (deprecated) SSH1 RSA identity file for you? > > (yes/no) no > > > > *** Info: Configuration finished. Have fun! > > > > $ ls -alh $HOME/.ssh > > total 4.0K > > drwxr-xr-x 1 meyer Kein 0 Nov 24 12:11 . > > drwxr-xr-x 1 meyer Kein 0 Nov 24 12:11 .. > > -rw-r--r-- 1 meyer Kein 0 Nov 24 12:11 authorized_keys > > > > An indication of an installation/configuration error of ssh-keygen is that > > also > >
Re: Cygwin 3.4.9 - how to install ssh-keygen
On 11/24/2023 5:31 AM, Matthias--- via Cygwin wrote: [snip] * Answered "no" to use StrictMode OK, this makes the .ssh directory have the wrong permissions. $ ls -alh $HOME/.ssh total 4.0K drwxr-xr-x 1 meyer Kein 0 Nov 24 12:11 . drwxr-xr-x 1 meyer Kein 0 Nov 24 12:11 .. -rw-r--r-- 1 meyer Kein 0 Nov 24 12:11 authorized_keys [snip] Which permissions the directories and files should have? What could the reason be that ssh-keygen don't create any key? Looks like it wouldn't try it? Real question is: Does ssh-keygen work with the wrong permissions? My understanding is no, it refuses to create keys in those directories. And later other ssh parts will refuse to use them. But I might be wrong. The author of ssh-host-config certainly believed that StrictMode was not necessary. -- R. B. -- 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
RE: EXTERNAL SENDER: Re: Cygwin 3.4.9 - how to install ssh-keygen
> -Original Message- > From: Cygwin > On Behalf Of Matthias--- via Cygwin > Sent: Friday, November 24, 2023 5:32 AM > To: cygwin@cygwin.com > Subject: EXTERNAL SENDER: Re: Cygwin 3.4.9 - how to install ssh-keygen > > Am Montag, dem 20.11.2023 um 17:54 +0100 schrieb mailto:matth...@gmx.li: > > Dear all, > > > > I've installed cygwin 3.4.9-1 in my virtualbox running on Windows 10. > > After installing defaults plus openssh 9.5p 1-1, I open the Cygwin64- > Terminal as Administrator and > > run ssh-host-config. > > * Answered "yes" to create the /etc/ssh_config and /etc/sshd_config > > * Answered "no" to use StrictMode > > * and "yes" to install sshd as a service > > * I just press for the question for "Value of CYGWIN for the > > daemon". > > cygrunsrv -S cygsshd will not start the sshd. The logfile say "no hostkeys > > available". > > > > Unfortunately I can't find ssh-keygen in the installable packages. > > Howto install ssh-keygen or how to create hostkeys? > > > > Thanks in advance > > Matthias > > > Hello, > > I installed cygwin 3.4.9-1 with all defaults plus openssh 9.5p 1-1 plus rsync > 3.2.7-1 in my virtualbox running on Windows 10 again. > > In /var/log/setup.log I found "can't run /etc/postinstall/openssl.sh: No such > file" > Anyhow, I opened the Cygwin64-Terminal as Administrator and run > ssh-host-config > but no host-keys has been created: >$ ssh-host-config > >*** Info: Generating missing SSH host keys >*** Info: Creating default /etc/ssh_config file >*** Info: Creating default /etc/sshd_config file > >*** Info: StrictModes is set to 'yes' by default. >*** Info: This is the recommended setting, but it requires that the POSIX >*** Info: permissions of the user's home directory, the user's .ssh >*** Info: directory, and the user's ssh key files are tight so that >*** Info: only the user has write permissions. >*** Info: On the other hand, StrictModes don't work well with default >*** Info: Windows permissions of a home directory mounted with the >*** Info: 'noacl' option, and they don't work at all if the home >*** Info: directory is on a FAT or FAT32 partition. >*** Query: Should StrictModes be used? (yes/no) no >*** Info: Updating /etc/sshd_config file > >*** Query: Do you want to install sshd as a service? >*** Query: (Say "no" if it is already installed as a service) (yes/no) yes >*** Query: Enter the value of CYGWIN for the daemon: [] > >*** Info: The sshd service has been installed under the LocalSystem >*** Info: account (also known as SYSTEM). To start the service now, call >*** Info: `net start cygsshd' or `cygrunsrv -S cygsshd'. Otherwise, it >*** Info: will start automatically after the next reboot. > >*** Info: Host configuration finished. Have fun! > >$ ls -alh /etc/ssh* >-rw-r--r-- 1 SYSTEM Administratoren 1.5K Nov 24 12:02 /etc/ssh_config >-rw-r--r-- 1 SYSTEM Administratoren 3.1K Nov 24 12:02 /etc/sshd_config > > Also running ssh-user-config don't create any keys: >$ ssh-user-config >*** Query: Shall I create a SSH2 RSA identity file for you? (yes/no) yes >*** Info: Generating /home/meyer/.ssh/id_rsa >*** Query: Do you want to use this identity to login to this machine? > (yes/no) yes >*** Info: Adding to /home/meyer/.ssh/authorized_keys >cat: /home/meyer/.ssh/id_rsa.pub: No such file or directory >*** Query: Shall I create a SSH2 DSA identity file for you? (yes/no) no >*** Query: Shall I create a SSH2 ECDSA identity file for you? (yes/no) no >*** Query: Shall I create a (deprecated) SSH1 RSA identity file for you? > (yes/no) no > >*** Info: Configuration finished. Have fun! > >$ ls -alh $HOME/.ssh >total 4.0K >drwxr-xr-x 1 meyer Kein 0 Nov 24 12:11 . >drwxr-xr-x 1 meyer Kein 0 Nov 24 12:11 .. >-rw-r--r-- 1 meyer Kein 0 Nov 24 12:11 authorized_keys > > An indication of an installation/configuration error of ssh-keygen is that > also >/usr/bin/ssh-keygen -vvf /etc/ssh_host_rsa_key -N '' -t rsa > don't produce any output. Also if it has return value 0. BTW: Windows > OpenSSH isn't installed on my > machine. > > René Berber wrote that my files have the wrong permissions. But for shure, > /home and /home/meyer has > been created during cygwin installation and /home/meyer/.ssh by ssh-user- > config. > > Which permissions the directories and files should have? > Wha
Re: Cygwin 3.4.9 - how to install ssh-keygen
Am Montag, dem 20.11.2023 um 17:54 +0100 schrieb matth...@gmx.li: > Dear all, > > I've installed cygwin 3.4.9-1 in my virtualbox running on Windows 10. > After installing defaults plus openssh 9.5p 1-1, I open the Cygwin64-Terminal > as Administrator and > run ssh-host-config. > * Answered "yes" to create the /etc/ssh_config and /etc/sshd_config > * Answered "no" to use StrictMode > * and "yes" to install sshd as a service > * I just press for the question for "Value of CYGWIN for the daemon". > cygrunsrv -S cygsshd will not start the sshd. The logfile say "no hostkeys > available". > > Unfortunately I can't find ssh-keygen in the installable packages. > Howto install ssh-keygen or how to create hostkeys? > > Thanks in advance > Matthias > Hello, I installed cygwin 3.4.9-1 with all defaults plus openssh 9.5p 1-1 plus rsync 3.2.7-1 in my virtualbox running on Windows 10 again. In /var/log/setup.log I found "can't run /etc/postinstall/openssl.sh: No such file" Anyhow, I opened the Cygwin64-Terminal as Administrator and run ssh-host-config but no host-keys has been created: $ ssh-host-config *** Info: Generating missing SSH host keys *** Info: Creating default /etc/ssh_config file *** Info: Creating default /etc/sshd_config file *** Info: StrictModes is set to 'yes' by default. *** Info: This is the recommended setting, but it requires that the POSIX *** Info: permissions of the user's home directory, the user's .ssh *** Info: directory, and the user's ssh key files are tight so that *** Info: only the user has write permissions. *** Info: On the other hand, StrictModes don't work well with default *** Info: Windows permissions of a home directory mounted with the *** Info: 'noacl' option, and they don't work at all if the home *** Info: directory is on a FAT or FAT32 partition. *** Query: Should StrictModes be used? (yes/no) no *** Info: Updating /etc/sshd_config file *** Query: Do you want to install sshd as a service? *** Query: (Say "no" if it is already installed as a service) (yes/no) yes *** Query: Enter the value of CYGWIN for the daemon: [] *** Info: The sshd service has been installed under the LocalSystem *** Info: account (also known as SYSTEM). To start the service now, call *** Info: `net start cygsshd' or `cygrunsrv -S cygsshd'. Otherwise, it *** Info: will start automatically after the next reboot. *** Info: Host configuration finished. Have fun! $ ls -alh /etc/ssh* -rw-r--r-- 1 SYSTEM Administratoren 1.5K Nov 24 12:02 /etc/ssh_config -rw-r--r-- 1 SYSTEM Administratoren 3.1K Nov 24 12:02 /etc/sshd_config Also running ssh-user-config don't create any keys: $ ssh-user-config *** Query: Shall I create a SSH2 RSA identity file for you? (yes/no) yes *** Info: Generating /home/meyer/.ssh/id_rsa *** Query: Do you want to use this identity to login to this machine? (yes/no) yes *** Info: Adding to /home/meyer/.ssh/authorized_keys cat: /home/meyer/.ssh/id_rsa.pub: No such file or directory *** Query: Shall I create a SSH2 DSA identity file for you? (yes/no) no *** Query: Shall I create a SSH2 ECDSA identity file for you? (yes/no) no *** Query: Shall I create a (deprecated) SSH1 RSA identity file for you? (yes/no) no *** Info: Configuration finished. Have fun! $ ls -alh $HOME/.ssh total 4.0K drwxr-xr-x 1 meyer Kein 0 Nov 24 12:11 . drwxr-xr-x 1 meyer Kein 0 Nov 24 12:11 .. -rw-r--r-- 1 meyer Kein 0 Nov 24 12:11 authorized_keys An indication of an installation/configuration error of ssh-keygen is that also /usr/bin/ssh-keygen -vvf /etc/ssh_host_rsa_key -N '' -t rsa don't produce any output. Also if it has return value 0. BTW: Windows OpenSSH isn't installed on my machine. René Berber wrote that my files have the wrong permissions. But for shure, /home and /home/meyer has been created during cygwin installation and /home/meyer/.ssh by ssh-user-config. Which permissions the directories and files should have? What could the reason be that ssh-keygen don't create any key? Looks like it wouldn't try it? 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
On 11/23/2023 2:15 AM, Matthias--- via Cygwin wrote: [snip] It create $HOME/.ssh with an empty authorized_keys and no keys: $ ls -alh $HOME/.ssh total 4.0K drwxr-xr-x 1 meyer Kein 0 Nov 23 09:06 . drwxr-xr-x 1 meyer Kein 0 Nov 23 09:06 .. -rw-r--r-- 1 meyer Kein 0 Nov 23 09:06 authorized_keys No it didn't create ~/.ssh, the permissions are wrong. It was surely created by you beforehand. Remove that directory and start again. -- R.B. -- 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
Am Mittwoch, dem 22.11.2023 um 08:23 -0700 schrieb Brian Inglis: > On 2023-11-22 00:40, Matthias--- via Cygwin wrote: > > Am Dienstag, dem 21.11.2023 um 19:23 -0700 schrieb Brian Inglis: > > > On 2023-11-20 09:54, Matthias--- via Cygwin wrote: > > > > Dear all, > > > > > > > > I've installed cygwin 3.4.9-1 in my virtualbox running on Windows 10. > > > > After installing defaults plus openssh 9.5p 1-1, I open the > > > > Cygwin64-Terminal as > > > > Administrator > > > > and > > > > run ssh-host-config. > > > > * Answered "yes" to create the /etc/ssh_config and /etc/sshd_config > > > > * Answered "no" to use StrictMode > > > > * and "yes" to install sshd as a service > > > > * I just press for the question for "Value of CYGWIN for the > > > > daemon". > > > > cygrunsrv -S cygsshd will not start the sshd. The logfile say "no > > > > hostkeys available". > > > > > > > > Unfortunately I can't find ssh-keygen in the installable packages. > > > > Howto install ssh-keygen or how to create hostkeys? > > > > > > Delete any manually created directories as permissions are likely wrong > > > then run > > > > > > $ /usr/bin/ssh-user-config > > > > > Thank you, > > $HOME/.ssh has been created with id_dsa and id_dsa.pub > > rsa and ecdsa hasn't been created also if it said "*** Info: Generating > > /home/meyer/.ssh/id_..." > > Now you can securely use ssh-keygen -A to create all default host key types or > ssh-keygen -t TYPE -a ROUNDS -b BITS -c for keys of any types and strengths > you > wish. > Hello It isn't working for me :) I run ssh-user-config. It asked me which keys I like to create and if I like to add them to authorized_keys. $ /usr/bin/ssh-user-config *** Query: Shall I create a SSH2 RSA identity file for you? (yes/no) yes *** Info: Generating /home/meyer/.ssh/id_rsa *** Query: Do you want to use this identity to login to this machine? (yes/no) yes *** Info: Adding to /home/meyer/.ssh/authorized_keys cat: /home/meyer/.ssh/id_rsa.pub: No such file or directory *** Query: Shall I create a SSH2 DSA identity file for you? (yes/no) yes *** Info: Generating /home/meyer/.ssh/id_dsa *** Query: Do you want to use this identity to login to this machine? (yes/no) yes *** Info: Adding to /home/meyer/.ssh/authorized_keys cat: /home/meyer/.ssh/id_dsa.pub: No such file or directory *** Query: Shall I create a SSH2 ECDSA identity file for you? (yes/no) yes *** Info: Generating /home/meyer/.ssh/id_ecdsa *** Query: Do you want to use this identity to login to this machine? (yes/no) yes *** Info: Adding to /home/meyer/.ssh/authorized_keys cat: /home/meyer/.ssh/id_ecdsa.pub: No such file or directory *** Query: Shall I create a (deprecated) SSH1 RSA identity file for you? (yes/no) no *** Info: Configuration finished. Have fun! It create $HOME/.ssh with an empty authorized_keys and no keys: $ ls -alh $HOME/.ssh total 4.0K drwxr-xr-x 1 meyer Kein 0 Nov 23 09:06 . drwxr-xr-x 1 meyer Kein 0 Nov 23 09:06 .. -rw-r--r-- 1 meyer Kein 0 Nov 23 09:06 authorized_keys Thanks for any hint 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
On 2023-11-22 00:40, Matthias--- via Cygwin wrote: Am Dienstag, dem 21.11.2023 um 19:23 -0700 schrieb Brian Inglis: On 2023-11-20 09:54, Matthias--- via Cygwin wrote: Dear all, I've installed cygwin 3.4.9-1 in my virtualbox running on Windows 10. After installing defaults plus openssh 9.5p 1-1, I open the Cygwin64-Terminal as Administrator and run ssh-host-config. * Answered "yes" to create the /etc/ssh_config and /etc/sshd_config * Answered "no" to use StrictMode * and "yes" to install sshd as a service * I just press for the question for "Value of CYGWIN for the daemon". cygrunsrv -S cygsshd will not start the sshd. The logfile say "no hostkeys available". Unfortunately I can't find ssh-keygen in the installable packages. Howto install ssh-keygen or how to create hostkeys? Delete any manually created directories as permissions are likely wrong then run $ /usr/bin/ssh-user-config Thank you, $HOME/.ssh has been created with id_dsa and id_dsa.pub rsa and ecdsa hasn't been created also if it said "*** Info: Generating /home/meyer/.ssh/id_..." Now you can securely use ssh-keygen -A to create all default host key types or ssh-keygen -t TYPE -a ROUNDS -b BITS -c for keys of any types and strengths you wish. -- 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 -- 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
Am Dienstag, dem 21.11.2023 um 19:23 -0700 schrieb Brian Inglis: > On 2023-11-20 09:54, Matthias--- via Cygwin wrote: > > Dear all, > > > > I've installed cygwin 3.4.9-1 in my virtualbox running on Windows 10. > > After installing defaults plus openssh 9.5p 1-1, I open the > > Cygwin64-Terminal as Administrator > > and > > run ssh-host-config. > > * Answered "yes" to create the /etc/ssh_config and /etc/sshd_config > > * Answered "no" to use StrictMode > > * and "yes" to install sshd as a service > > * I just press for the question for "Value of CYGWIN for the > > daemon". > > cygrunsrv -S cygsshd will not start the sshd. The logfile say "no hostkeys > > available". > > > > Unfortunately I can't find ssh-keygen in the installable packages. > > Howto install ssh-keygen or how to create hostkeys? > > Delete any manually created directories as permissions are likely wrong then > run > > $ /usr/bin/ssh-user-config > Thank you, $HOME/.ssh has been created with id_dsa and id_dsa.pub rsa and ecdsa hasn't been created also if it said "*** Info: Generating /home/meyer/.ssh/id_..." Br 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
On 2023-11-20 09:54, Matthias--- via Cygwin wrote: Dear all, I've installed cygwin 3.4.9-1 in my virtualbox running on Windows 10. After installing defaults plus openssh 9.5p 1-1, I open the Cygwin64-Terminal as Administrator and run ssh-host-config. * Answered "yes" to create the /etc/ssh_config and /etc/sshd_config * Answered "no" to use StrictMode * and "yes" to install sshd as a service * I just press for the question for "Value of CYGWIN for the daemon". cygrunsrv -S cygsshd will not start the sshd. The logfile say "no hostkeys available". Unfortunately I can't find ssh-keygen in the installable packages. Howto install ssh-keygen or how to create hostkeys? Delete any manually created directories as permissions are likely wrong then run $ /usr/bin/ssh-user-config -- 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 -- 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
On Tue, Nov 21, 2023 at 2:07 PM Hans-Bernhard Bröker wrote: > > I can't see a command like > > cygcheck -p ssh-keygen > > as noticeably more cumbersome than comparable commands of other > distributions But you _can_ see/realize the implications of that command :) I did a 'man cygcheck' before posting my reply, but somehow didn't notice -p, --package-query search for REGEXP in the entire cygwin.com package repository (requires internet connectivity) which, in hindsight, seems really obvious but somehow I did miss it so thanks for pointing it out! Regards, Lee > > Lee via Cygwin schrieb am Mo., 20. Nov. 2023, 23:42: > > > On Mon, Nov 20, 2023 at 11:54 AM Matthias wrote: > > > > > > Dear all, > > > > > > I've installed cygwin 3.4.9-1 in my virtualbox running on Windows 10. > > > After installing defaults plus openssh 9.5p 1-1, I open the > > Cygwin64-Terminal as Administrator and > > > run ssh-host-config. > > > * Answered "yes" to create the /etc/ssh_config and /etc/sshd_config > > > * Answered "no" to use StrictMode > > > * and "yes" to install sshd as a service > > > * I just press for the question for "Value of CYGWIN for the > > daemon". > > > cygrunsrv -S cygsshd will not start the sshd. The logfile say "no > > hostkeys available". > > > > > > Unfortunately I can't find ssh-keygen in the installable packages. > > > Howto install ssh-keygen or how to create hostkeys? > > > > The easy way to see if it's already installed > > $ which ssh-keygen > > /usr/bin/ssh-keygen > > > > If no, Cygwin is a bit of a pain when looking for a program that's > > included in another package. > > > > There's probably a better way, but I use the cygwin package search - eg: > > https://cygwin.com/cgi-bin2/package-grep.cgi?grep=ssh-keygen > > and then take a guess as the most likely candidate in the results list > > and click on that link to see if it's included in that package - eg > > > > https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fopenssh%2Fopenssh-9.5p1-1&grep=ssh-keygen > > > > > > Regards > > Lee -- 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
Thanks, I found it. It is still not working. I'll ask for it in another thread with a better subject :) Thanks a lot Matthias Am Montag, dem 20.11.2023 um 17:41 -0500 schrieb Lee: > On Mon, Nov 20, 2023 at 11:54 AM Matthias wrote: > > > > Dear all, > > > > I've installed cygwin 3.4.9-1 in my virtualbox running on Windows 10. > > After installing defaults plus openssh 9.5p 1-1, I open the > > Cygwin64-Terminal as Administrator > > and > > run ssh-host-config. > > * Answered "yes" to create the /etc/ssh_config and /etc/sshd_config > > * Answered "no" to use StrictMode > > * and "yes" to install sshd as a service > > * I just press for the question for "Value of CYGWIN for the > > daemon". > > cygrunsrv -S cygsshd will not start the sshd. The logfile say "no hostkeys > > available". > > > > Unfortunately I can't find ssh-keygen in the installable packages. > > Howto install ssh-keygen or how to create hostkeys? > > The easy way to see if it's already installed > $ which ssh-keygen > /usr/bin/ssh-keygen > > If no, Cygwin is a bit of a pain when looking for a program that's > included in another package. > > There's probably a better way, but I use the cygwin package search - eg: > https://cygwin.com/cgi-bin2/package-grep.cgi?grep=ssh-keygen > and then take a guess as the most likely candidate in the results list > and click on that link to see if it's included in that package - eg > > https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fopenssh%2Fopenssh-9.5p1-1&grep=ssh-keygen > > > Regards > Lee -- 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
On Mon, Nov 20, 2023 at 11:54 AM Matthias wrote: > > Dear all, > > I've installed cygwin 3.4.9-1 in my virtualbox running on Windows 10. > After installing defaults plus openssh 9.5p 1-1, I open the Cygwin64-Terminal > as Administrator and > run ssh-host-config. > * Answered "yes" to create the /etc/ssh_config and /etc/sshd_config > * Answered "no" to use StrictMode > * and "yes" to install sshd as a service > * I just press for the question for "Value of CYGWIN for the daemon". > cygrunsrv -S cygsshd will not start the sshd. The logfile say "no hostkeys > available". > > Unfortunately I can't find ssh-keygen in the installable packages. > Howto install ssh-keygen or how to create hostkeys? The easy way to see if it's already installed $ which ssh-keygen /usr/bin/ssh-keygen If no, Cygwin is a bit of a pain when looking for a program that's included in another package. There's probably a better way, but I use the cygwin package search - eg: https://cygwin.com/cgi-bin2/package-grep.cgi?grep=ssh-keygen and then take a guess as the most likely candidate in the results list and click on that link to see if it's included in that package - eg https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fopenssh%2Fopenssh-9.5p1-1&grep=ssh-keygen Regards Lee -- 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
Re: Cygwin 3.4.9 - how to install ssh-keygen
Am 20.11.2023 um 17:54 schrieb Matthias--- via Cygwin: Unfortunately I can't find ssh-keygen in the installable packages. That's quite strange, given ssh-keygen is clearly right there in that openssh package: $ cygcheck -f /usr/bin/ssh-keygen.exe openssh-9.5p1-1 -- 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