OpenSSH 8.9p1-1 Connects successfully but then hangs - Killing ssh-agent resolves the issue

Henry S. Thompson
Fri Apr 1 09:21:20 GMT 2022

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.

       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail:
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

More information about the Cygwin mailing list