delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 37A7038845A0 |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1701293898; | |
bh=pvvg8IYAyzCeUTXBCSUkc29Cmav53blmSAt+ye1/hpI=; | |
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: | |
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | |
From; | |
b=qt2edxipVIBiOSkgS41hrsMsooBv5AMe6f4RGMDbkZFMmIM6kBj5fwvUPXhxnT7Rb | |
tkvFtV3aeTugK3UQfLn86hF/U3pGfdGATtMP9UPjroorAKMloC0fwp6fUoVGWsjnso | |
jZEr1Ss/JMPLymDO2DQZZTlj3leA3G/zcT4ZxDOk= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org 22DAF3858295 |
ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org 22DAF3858295 |
ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701293884; cv=none; |
b=XdJ3ZoMwLRVs5GNogaFEwMV8NFGo06h25eQpU/ooHIOAQSHv1NKwpN7b9nvZ3BJQz4yFRBLy/4JY/oPPfKiyA0I48XSEyUOVD9l+OtdFMr9hgZTOIun16R7+QlITOUJUYxl13o6dcLHaZtLmepHu+JoDjDHqamVu3ScIwG4FcSk= | |
ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key; |
t=1701293884; c=relaxed/simple; | |
bh=he3loN41xx4pYN+hgpKYyCT29YE+XpM2SWR4CyDZi4o=; | |
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; | |
b=A5pp7PzZxhsM+hx9W7Q7enxfXjskqJttu62QWqZJcPLzvLDpmwHNay9VNLeNnLvcJvYOziKgdBBqtiYkFpjsMZ04splFOT9SQPIyEmHBToHH7I4chwQBNwM82J/0paRPORb2LgL/sB0Hg3X2fVvdMjiCksGzn2cgoSsSzKW81VU= | |
ARC-Authentication-Results: | i=1; server2.sourceware.org |
X-Authority-Analysis: | v=2.4 cv=Cousz10D c=1 sm=1 tr=0 ts=6567af39 |
a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 | |
a=IkcTkHD0fZMA:10 a=MpOm9NbWH5bTe0W-W9UA:9 a=QEXdDO2ut3YA:10 | |
Message-ID: | <99bf24dc-1c8f-4485-aad6-faee8ffb14d8@Shaw.ca> |
Date: | Wed, 29 Nov 2023 14:38:01 -0700 |
MIME-Version: | 1.0 |
User-Agent: | Mozilla Thunderbird |
Subject: | Re: Cygwin 3.4.9 - how to install ssh-keygen |
To: | cygwin AT cygwin DOT com |
References: | <cba6d8a9769ab61ef5e724607d0f32761b3f9308 DOT camel AT gmx DOT li> |
<cb49e2b78a4818e090b169cc88bfc497024b4d60 DOT camel AT gmx DOT li> | |
<PH0PR16MB47825F25F55C915BD9505A75F5B8A AT PH0PR16MB4782 DOT namprd16 DOT prod DOT outlook DOT com> | |
<c1b9a9ba0d3c386dd2350e20a4b0013b7e5697de DOT camel AT gmx DOT li> | |
<87jzq5y8nc DOT fsf AT Gerda DOT invalid> | |
<4ae9d8388563c8b6c82801815b9c12ab9fca7081 DOT camel AT gmx DOT at> | |
<02eb842d-e2c7-4536-9602-67475d1804a7 AT Shaw DOT ca> | |
<06a79feabf5e8906c14a02f2396212a80af9e6d9 DOT camel AT gmx DOT at> | |
<DB9P251MB006387A4F7489597E4C8C34DDE83A AT DB9P251MB0063 DOT EURP251 DOT PROD DOT OUTLOOK DOT COM> | |
Organization: | Inglis |
In-Reply-To: | <DB9P251MB006387A4F7489597E4C8C34DDE83A@DB9P251MB0063.EURP251.PROD.OUTLOOK.COM> |
X-CMAE-Envelope: | MS4xfHE/iesoBgGoEHGO3Eg/zHYUiiKMFaiWvaz/e7E0dAbpeSWhV+XdNoLTODWTLNOnGFcomsULjs5J88LCfs3uNITJMMTtqvP9sFIJ7NmvNBevyXFyci5a |
WapsqbJ7xFI7oRC0GIGaqHoXlkHZuAVcBPwj2w1LLi6hJH4e1Vc/Pq1eqRcedHjfM/saDe1X0kg92g== | |
X-Spam-Status: | No, score=-3.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, |
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, | |
RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_FILL_THIS_FORM_SHORT, | |
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 AT cygwin DOT com |
X-Mailman-Version: | 2.1.30 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
From: | Brian Inglis via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
Cc: | Brian Inglis <Brian DOT Inglis AT Shaw DOT ca> |
Errors-To: | cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id 3ATLcJBG017229 |
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 AT jicman ~ > $ ssh jic AT web > > jcabrera AT 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 00007ffe22410000 > --- Process 23800 loaded C:\Windows\System32\kernel32.dll at 00007ffe20e20000 > --- Process 23800 loaded C:\Windows\System32\KernelBase.dll at 00007ffe1f780000 > --- Process 23800 loaded C:\cygwin64\bin\cygcrypto-1.1.dll at 00000003f6ce0000 > --- Process 23800 loaded C:\cygwin64\bin\cygwin1.dll at 00007ffd8efa0000 > --- Process 23800 loaded C:\cygwin64\bin\cyggssapi_krb5-2.dll at 00000003f40d0000 > --- Process 23800 loaded C:\cygwin64\bin\cygz.dll at 00000003ee230000 > --- Process 23800 loaded C:\cygwin64\bin\cyggcc_s-seh-1.dll at 00000003f4c30000 > --- Process 23800 loaded C:\cygwin64\bin\cygk5crypto-3.dll at 00000003f0f00000 > --- Process 23800 loaded C:\cygwin64\bin\cygkrb5-3.dll at 00000003f0e30000 > --- Process 23800 loaded C:\cygwin64\bin\cygkrb5support-0.dll at 00000003f0e10000 > --- Process 23800 loaded C:\cygwin64\bin\cygcom_err-2.dll at 00000003f7240000 > --- Process 23800 loaded C:\cygwin64\bin\cygintl-8.dll at 00000003f12e0000 > --- Process 23800 loaded C:\cygwin64\bin\cygiconv-2.dll at 00000003f3170000 > 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 00007ffe202b0000 > --- Process 23800 loaded C:\Windows\System32\msvcrt.dll at 00007ffe20d40000 > --- Process 23800 loaded C:\Windows\System32\sechost.dll at 00007ffe203a0000 > --- Process 23800 loaded C:\Windows\System32\rpcrt4.dll at 00007ffe22030000 > --- Process 23800 loaded C:\Windows\System32\cryptbase.dll at 00007ffe1efd0000 > --- Process 23800 loaded C:\Windows\System32\bcryptprimitives.dll at 00007ffe1fc50000 > 9439 9671 [main] ssh (23800) sigprocmask: 0 = sigprocmask (0, 0x0, 0x7FFD8F2793B0) > 439 10110 [main] ssh (23800) open_shared: name shared.5, shared 0x1A0000000 (wanted 0x1A0000000), h 0x118, m 0, created 0 > 152 10262 [main] ssh (23800) user_heap_info::init: heap base 0xA00000000, heap top 0xA00000000, heap size 0x20000000 (536870912) > 76 10338 [main] ssh (23800) open_shared: name S-1-5-21-1074337292-3126344265-1178006881-1002.1, shared 0x1A1000000 (wanted 0x1A1000000), 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 0x1A1000000 > 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 00007ffe00070000 > --- Process 23800 loaded C:\Windows\System32\user32.dll at 00007ffe21e20000 > --- Process 23800 loaded C:\Windows\System32\win32u.dll at 00007ffe20130000 > --- Process 23800 loaded C:\Windows\System32\gdi32.dll at 00007ffe20df0000 > --- Process 23800 loaded C:\Windows\System32\gdi32full.dll at 00007ffe1fea0000 > --- Process 23800 loaded C:\Windows\System32\msvcp_win.dll at 00007ffe1fcd0000 > --- Process 23800 loaded C:\Windows\System32\ucrtbase.dll at 00007ffe1fb30000 > --- Process 23800 loaded C:\Windows\System32\combase.dll at 00007ffe21a90000 > --- Process 23800 loaded C:\Windows\System32\version.dll at 00007ffe0b1f0000 > --- Process 23800 loaded C:\Windows\System32\bcrypt.dll at 00007ffe1f130000 > --- Process 23800 loaded C:\Windows\System32\imm32.dll at 00007ffe204e0000 > --- Process 23800 loaded C:\Windows\System32\ntmarta.dll at 00007ffe1e850000 > --- Process 23800 thread 15480 created > --- Process 23800 thread 15424 created > --- Process 23800, exception c0000005 at 00007ffd8f028094 > --- Process 23800 thread 21708 created > --- Process 23800, exception c0000005 at 00007ffd8efc0a5c > [clip like entries] > --- Process 23800, exception c0000005 at 00007ffd8efc0a5c > --- Process 23800, exception c0000005 at 00007ffd8efc0a5c > --- Process 23800 thread 15480 exited with status 0x0 > --- Process 23800, exception c0000005 at 00007ffd8efc0a5c > --- Process 23800, exception c0000005 at 00007ffd8efc0a5c > [clip] > --- Process 23800, exception c0000005 at 00007ffd8efc0a5c > --- Process 23800, exception c0000005 at 00007ffd8efc0a5c > --- Process 23800 loaded C:\Windows\System32\kernel.appcore.dll at 00007ffe1e7d0000 > --- Process 23800, exception c0000005 at 00007ffd8efc0a5c > --- Process 23800, exception c0000005 at 00007ffd8efc0a5c > [clip] > --- Process 23800, exception c0000005 at 00007ffd8efc0a5c > --- Process 23800 thread 21708 exited with status 0x0 > --- Process 23800, exception c0000005 at 00007ffd8efc0a5c > [clip an inmense amount of lines like the one just above this line] > --- Process 23800, exception c0000005 at 00007ffd8efc0a5c > --- Process 23800 thread 22168 exited with status 0xc0000005 > --- Process 23800 exited with status 0xc0000005 > Segmentation fault > > jcabrera AT jicman ~ > $ > == end strace ssh == > > This is the version installed: > $ uname -a > CYGWIN_NT-10.0-22631 jicman 3.4.10-1.x86_64 2023-11-29 12:12 UTC x86_64 Cygwin > > Here is MS stuff: > == beg MS Stuff == > $ systeminfo > > Host Name: JICMAN > OS Name: Microsoft Windows 11 Pro > OS Version: 10.0.22631 N/A Build 22631 > OS Manufacturer: Microsoft Corporation > OS Configuration: Standalone Workstation > ==end MS Stuff== 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 SERVICE_NAME: ssh-agent DISPLAY_NAME: OpenSSH Authentication Agent SERVICE_NAME: sshd DISPLAY_NAME: OpenSSH SSH Server SERVICE_NAME: SshdBroker DISPLAY_NAME: SshdBroker $ for s in ssh{d,dbroker,-agent}; do sc queryex $s; done SERVICE_NAME: sshd TYPE : 10 WIN32_OWN_PROCESS STATE : 1 STOPPED WIN32_EXIT_CODE : 1077 (0x435) SERVICE_EXIT_CODE : 0 (0x0) CHECKPOINT : 0x0 WAIT_HINT : 0x0 PID : 0 FLAGS : SERVICE_NAME: sshdbroker TYPE : 20 WIN32_SHARE_PROCESS STATE : 1 STOPPED WIN32_EXIT_CODE : 1077 (0x435) SERVICE_EXIT_CODE : 0 (0x0) CHECKPOINT : 0x0 WAIT_HINT : 0x0 PID : 0 FLAGS : SERVICE_NAME: ssh-agent TYPE : 10 WIN32_OWN_PROCESS STATE : 1 STOPPED WIN32_EXIT_CODE : 1077 (0x435) SERVICE_EXIT_CODE : 0 (0x0) CHECKPOINT : 0x0 WAIT_HINT : 0x0 PID : 0 FLAGS : $ 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 -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |