public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* ssh-pageant hangs under Win10
@ 2021-07-20  7:55 Andrey Repin
  0 siblings, 0 replies; only message in thread
From: Andrey Repin @ 2021-07-20  7:55 UTC (permalink / raw)
  To: All

Greetings, All!

I have an issue with ssh-pageant. Every now and then its response time begin
to rise, up to complete unusability.
I've been forced to include a small wrapper

> ssh-add -l > /dev/null 2>&1 &
> sleep 1
> if kill -0 $! 2> /dev/null; then
>   echo "$( basename "$0" ): ssh-add: the agent is hung, unable to continue" >&2
>   exit 1
> fi

to detect if agent is responsive, and a hourly hartbeat check with forced
agent restart in case of failure.


-- 
With best regards,
Andrey Repin
Tuesday, July 20, 2021 10:35:08

Sorry for my terrible english...


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-20  8:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-20  7:55 ssh-pageant hangs under Win10 Andrey Repin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).