ssh-pageant hangs under Win10

Andrey Repin anrdaemon@yandex.ru
Tue Jul 20 07:55:25 GMT 2021


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



More information about the Cygwin mailing list