X-Recipient: archive-cygwin@delorie.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@cygwin.com
Delivered-To: cygwin@cygwin.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
Content-Language: en-US
To: cygwin@cygwin.com
References: <3ed89752-9676-a668-f63c-1a9b7662d7b5@jhmg.net>
 <f5b7d892m7j.fsf@ecclerig.inf.ed.ac.uk>
 <000401d84750$9147d7b0$b3d78710$@pdinc.us>
 <f5br16exga2.fsf@ecclerig.inf.ed.ac.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@cygwin.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@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Jim Garrison via Cygwin <cygwin@cygwin.com>
Reply-To: jhg@acm.org
Cc: Jim Garrison <jhg@jhmg.net>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.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
