delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/04/03/13:15:53

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B8F653858407
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1649006152;
bh=0+x4/faMEP/dlugoBFgWA81KOUpX49iYnwn0Z/CDBzY=;
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=JIN5Xabvr/Zc9oAqGFIl3Yi08Y+YivHIcaBYGlZ4SjbCNCfUTUIOwnhttWpU7XvJ9
dyVGeGoeCMqip+69eaQz+h3NpnkzpQuggCb4WWtaQ46RULb7WxGOMvGem/dpTLdbUh
+dfDgobvypIC2x0shLNFusJQU9R2Dx4GPpnqiq9w=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C5C263858D37
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.jhmg.net 4997840100
Message-ID: <04c8f765-6bf6-b8ff-ca94-e88fc21838d2@jhmg.net>
Date: Sun, 3 Apr 2022 10:15:23 -0700
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Firefox/91.0 Thunderbird/91.7.0
Subject: Re: [cygwin] Re: OpenSSH 8.9p1-1 Connects successfully but then hangs
- Killing ssh-agent resolves the issue
To: cygwin AT cygwin DOT com
References: <3ed89752-9676-a668-f63c-1a9b7662d7b5 AT jhmg DOT net>
<f5b7d892m7j DOT fsf AT ecclerig DOT inf DOT ed DOT ac DOT uk>
<000401d84750$9147d7b0$b3d78710$@pdinc.us>
<f5br16exga2 DOT fsf AT ecclerig DOT inf DOT ed DOT ac DOT uk>
In-Reply-To: <f5br16exga2.fsf@ecclerig.inf.ed.ac.uk>
X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, SPF_HELO_PASS,
SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
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: Jim Garrison via Cygwin <cygwin AT cygwin DOT com>
Reply-To: jhg AT acm DOT org
Cc: Jim Garrison <jhg AT jhmg DOT net>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 4/3/2022 9:50 AM, Henry S. Thompson wrote:
> Jason Pyeron writes:
> 
>>> -----Original Message-----
>>> From: Henry S. Thompson
>>> Sent: Friday, April 1, 2022 5:21 AM
>>>
>>> Jim Garrison via Cygwin writes:
>>>
>>>> My Cygwin ssh client stopped working... It would successfully connect to
>>>> ...
>>> There are reports out there of ssh-agent getting stuck: just out of
>>> curiousity if this happens again, check to see if ssh-agent is using
>>> 100% of a CPU.  If so then search for "ssh-agent" "100% CPU" to see
> 
>> I did not find much with that search. I found
>> https://cygwin.com/pipermail/cygwin/2010-January/183237.html but the
>> issue description and resolution was useless.
>>
>> Do you have certain search results in mind? This happens to me
>> several times a month - on multiple systems. Note this started
>> within the past 3 years.
> 
> There are three distinct groups of possibly relevant threads, to do
> with interactions between ssh-agent and one of
>    ServerTree [no idea what that is]
>    GitHub
>    gnome-keyring-daemon
> 
> Also, if (my own case), I use gpg-agent maskerading as ssh-agent, and
> _it_ has the 100% problem sometimes.
> 
> Of course, none of this is relevant if the OP's problem with ssh is
> not co-occuring with ssh-agent chewing up an entire processor.

The problem has not recurred (yet) so I don't know if ssh-agent was
at 100% CPU.  All I know at this point is that ssh-agent is *definitely*
involved because killing that process restored ssh functionality. I.e.

before killing ssh-agent: ssh connects but no prompt is displayed
after killing ssh-agent: ssh connects and operates normally

-- 
Jim Garrison


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