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


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

Reply via email to