X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 321D83858D37
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=pdinc.us
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=pdinc.us
DKIM-Filter: OpenDKIM Filter v2.11.0 mail1.pdinc.us 233BlHqk012965
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pdinc.us; s=default;
 t=1648986438; bh=BpZQUBL5y0izZ28dffTTVkJbdXHXrnIHj0sWiDlS8Ss=;
 h=From:To:References:In-Reply-To:Subject:Date:From;
 b=dAEhy5Q77dt6gIgBDh78qQiK0L4sAEESF/SZaRC6lcQX3Ou9HPuozYgeuRuyYXCuQ
 sWMpgbM4JDY4ZMBoeENlpV6+BPSjFtoxUy/IdAu4e2ddcEBwrn2q0UM2dt9szL+edl
 shdgjFUQnaNufc6YSof0WARn7O3BWU9bKzXofHEO7NjasUqkoYk5XPLezoRfMvHriJ
 b6Zsc9hVdbd1TMIamrI5FhujtwUQyah7QHUMxw2BcRcovYiUVMnrPmzsafOKHSLi6t
 pgXD0v1t9p4WyDxzmxoDDyrfe9H7rQBeF3XROfnAPp1X2siJwxKpFa7IjG7TpXnA/S
 +dJ44dEjcoLpA==
From: "Jason Pyeron" <jpyeron@pdinc.us>
To: <cygwin@cygwin.com>
References: <3ed89752-9676-a668-f63c-1a9b7662d7b5@jhmg.net>
 <f5b7d892m7j.fsf@ecclerig.inf.ed.ac.uk>
In-Reply-To: <f5b7d892m7j.fsf@ecclerig.inf.ed.ac.uk>
Subject: RE: [cygwin] Re: OpenSSH 8.9p1-1 Connects successfully but then hangs
 - Killing ssh-agent resolves the issue
Date: Sun, 3 Apr 2022 07:47:16 -0400
Message-ID: <000401d84750$9147d7b0$b3d78710$@pdinc.us>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQGSrhZKxvL0A3JPMR2yC8SQRqTZCQI9uVchrVdU9JA=
Content-Language: en-us
X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_20, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_INFOUSMEBIZ, SPF_HELO_PASS,
 SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=no 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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

> -----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
> > the remote (Debian) host but then hang without displaying the command
> > prompt.  See debug output attached, as well as cygcheck output.
> >
> > I decided to run setup to see if there was a newer version of openssh.
> > In preparation for that I always terminate all Cygwin processes because
> > they will interfere with the update.  I killed the ssh-agent process and
> > on a whim decided to try connecting again.  This time it worked.
> >
> > This would seem to indicate something in ssh-agent is interfering with
> > the connection.  There are no credentials loaded into ssh-agent.
> 
> 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
> what the likely culprits are.

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.


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