delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/11/29/16:57:15

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1E7903886C46
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1701295034;
bh=oOrKRnh2Z4zxQQZkxQwIn/ZQIHh8AZmn/b4Gbwv4FLA=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=UawHz8RQN/FcEM2SzLmw9YyhdBsucFDC9vQvcfynDQefJTmKe7fOM6C294zMaKdLC
ekKeUnIaYQvElYWtcqWPxNsMBngfOBqxR7G/MZIlZo6jnG0P5bBZE5WUeNrW7pgFG5
uVIwTSCUnz5pM6VdT+oSr8Br1LMejazO9/INwDUU=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 496EB382DC5E
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 496EB382DC5E
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701294997; cv=none;
b=kjhpaeMMr0cTLjFcRuOsgduEwDabFDc9Iza1cJDYr4F0GMNuZxdkfPB2zAK6QzlP03cyHTKbJrMPh4tD0D6BRfkM/4anGmJrz90Pp5AjYLgqEITUnSVtF1DDaEKHGGSpKpHiU11YCLWbVkLuapctM0RRy3VCqb7wKUo5vkGEjiE=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1701294997; c=relaxed/simple;
bh=6d1YgZMGcmqE03Rb1UOCV1a6cLhR4K0Te+/fm7P/he8=;
h=Message-ID:Date:MIME-Version:Subject:To:From;
b=UmhSlJq9z9zNEBlxoaMRLCXdvvZo2HaJcwn3o5JaFqUhOZ51+fHBVUJ/PH5zyIx1Or02DSVUvQe9zoaDS1UZID5OCELAMO5e9SxMM537/12HxhfieWiEnhs9BhbChlIGW+KdUDJoWKDMqVNgwp/KiqnaMN0blRMuOzjuq44HjS4=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-ASG-Debug-ID: 1701294993-24039d196d11e5c60001-w5GHUG
X-Barracuda-Envelope-From: moss AT cs DOT umass DOT edu
X-Barracuda-RBL-Trusted-Forwarder: 128.119.240.136
Message-ID: <44f3d9cd-3e55-c59c-713c-0c74affd764f@cs.umass.edu>
X-Barracuda-RBL-Trusted-Forwarder: 172.26.65.13
Date: Wed, 29 Nov 2023 16:56:31 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Subject: Re: Cygwin 3.4.9 - how to install ssh-keygen
To: Jose Isaias Cabrera <jicman AT outlook DOT com>,
"cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>,
"Matthias AT gmx DOT at" <matthias DOT meyer AT gmx DOT at>
X-ASG-Orig-Subj: Re: Cygwin 3.4.9 - how to install ssh-keygen
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>
In-Reply-To: <DB9P251MB006387A4F7489597E4C8C34DDE83A@DB9P251MB0063.EURP251.PROD.OUTLOOK.COM>
X-Barracuda-Connect: mailsrv.cs.umass.edu[128.119.240.136]
X-Barracuda-Start-Time: 1701294993
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://barramail.cs.umass.edu:443/cgi-mod/mark.cgi
X-Barracuda-BRTS-Status: 1
X-Virus-Scanned: by bsmtpd at cs.umass.edu
X-Barracuda-Scan-Msg-Size: 7892
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0
QUARANTINE_LEVEL=1000.0 KILL_LEVEL=5.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.117438
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL,
KAM_DMARC_STATUS, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP,
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: Eliot Moss via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Eliot Moss <moss AT cs DOT umass DOT edu>
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>

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 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==
> 
> Thoughts anyone?
> 

I think a clue here is that when *I* run Cygwin's ssh, which is successful,
I do not see ntmarta.dll.  This makes me wonder if it is something about
that, and also if it is something about the permissions on your .ssh folder
and files in it, about library search order, etc.

Best - EM

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019