delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/07/20/04:06:02

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 827673987008
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yandex.ru
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
t=1626768301; bh=44FAHL8OT5SP7CsW2n8/J1Uz++HVNW3KlouSWqGkdqc=;
h=Subject:CC:To:Message-ID:From:Date:Reply-To;
b=hoI1GIc2gzAg8X4R51v0H7fUQsjR3VRBgJQjlGKQzB66i9AC4K4zc4AwlWidBs1P4
4BOTebq+WBMSXHtAE7m47DpfaaExAj7hRZV7yjZf2kFEovE+PcoWfGOGcG0YBj6maq
nT1c1OYRPy3QkHayR5ipdsVHi2dXYctKgTBTREBA=
Authentication-Results: sas1-43b74f7725b7.qloud-c.yandex.net;
dkim=pass header.i=@yandex.ru
Date: Tue, 20 Jul 2021 10:55:25 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v6.8.8) Home
X-Priority: 3 (Normal)
Message-ID: <1381694870.20210720105525@yandex.ru>
To: All <cygwin AT cygwin DOT com>
Subject: ssh-pageant hangs under Win10
MIME-Version: 1.0
X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT,
KAM_THEBAT, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS,
TXREP 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 AT cygwin DOT 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 AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019