DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 45U0Qdih147757 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=tkJDNplM X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D1556389F4FB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1719707198; bh=qT8XO5/ezAKdQ/S3NlEdM1hF0pB8yo/ffTxlsE2FqPc=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=tkJDNplM/pIbq1FOwEGIRSbeneEZjyMgv6QErLfJHnOFROpHGYB6rm7334QPh5LM5 9mHEuBSSRroW7iIGnc8eWIQnJCSbuLWd4FNJ2U50GYyXYYRTR4vYJ18qUR4ek+Dc7U 1pGc2aJJp254ewvRYeby9YNQqMtjTQHzGBP9R898= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2A03B389EC8F ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2A03B389EC8F ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719707142; cv=none; b=QBWO8gkzmMAiaOWG7UdwaW+/2f7mC2h5pj4hSFmsLrD+7PEvYg8AnODsfecK1Cb1Jb01FNlwFqVC2lJ6R+3NEedylXWYvxgJEpFdtUQqLy1Zx6kb0WgkHrmncwuX9MD923YQXN6a23Pc4MPVmfuB/nuI9zfyba7ZfHqs6sOYC7o= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719707142; c=relaxed/simple; bh=Fp/jjlZHhO+pQd0t4Y6LuygZql5S4WYDN9lOY0q1+MA=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=cIJ1gJ6r46eK6MC7jpuGoFDJieOjFazOxXL/4K8pQGe/IdVOt4Z41w3i5SH5tK+bEDlf7rLnek6Yq7hQfFMPKF4skvpNX0DUhTI5nsN2FqrgZAyBssGFErKAoB1XfFHdlnq623uXilG8h4jsxxqHkn6pW2U9fs42Rot93q/VrCk= ARC-Authentication-Results: i=1; server2.sourceware.org Message-ID: <2c426f94-4cde-43a6-877c-64989504df2e@huarp.harvard.edu> Date: Sat, 29 Jun 2024 20:25:39 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: ssh-add -l hangs under cygwin test 3.6.0-0.139.g... To: Brian Inglis via Cygwin References: <4e23023c-cf2b-4c5a-bfec-962e1e824733 AT SystematicSW DOT ab DOT ca> <8788c341-9f8c-4741-a16a-cc0179419717 AT huarp DOT harvard DOT edu> Content-Language: en-US In-Reply-To: <8788c341-9f8c-4741-a16a-cc0179419717@huarp.harvard.edu> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Norton Allen via Cygwin Reply-To: Norton Allen Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On 6/29/2024 8:21 PM, Norton Allen via Cygwin wrote: > > On 6/29/2024 5:29 PM, Brian Inglis via Cygwin wrote: >> On 2024-06-29 14:20, Norton Allen via Cygwin wrote: >>> On 6/29/2024 1:39 AM, Brian Inglis via Cygwin wrote: >>>> Installed cygwin test to try to diagnose another issue - but not >>>> involved there. >>>> Attempting to cygport upload - just hung without start ftp connection. >>>> Reran cygport --debug upload and command hanging was ssh-add -l! >>>> Confirmed by rerunning command ssh-add -l from bash. >>>> Killed eventually with series of ctrl-C and ctrl-\. >>>> Reran under strace and output log attached. >>>> No version or help output from ssh-add so: >>>> $ ssh -V >>>> OpenSSH_9.7p1, OpenSSL 3.0.14 4 Jun 2024 >>>> After running setup and reinstalling 3.5.3, ssh-add -l works >>>> normally, and cygport upload succeeds to ftp package. >>>> Only variable was the cygwin version installed. >> >>> I have experienced otherwise inexplicable hangs of ssh that have >>> been resolved by killing ssh-agent and restarting it. This doesn't >>> happen very often, so it is usually mystifying when it does occur -- >>> until I remember. >> >> I have *NEVER* had *ANY* issues using (Open)ssh etc. for remote >> login, shell, commands, file trees, or git (and earlier vcs) access, >> professionally and personally, over many years, releases, and >> systems, mainly from Cygwin/-X shells and sessions (due to using >> mainly Windows desktops with various Unix servers), with/out >> authorized_keys, passphrases, and/or keychain, until these recent >> instances under the test build. >> > I'm not above suspecting my problems arise from something unique in my > setup, but it hasn't occurred often enough for me to investigate further. > It wasn't clear to me whether your problem was readily reproducible. You repeated the ssh-add command, and it hung, but you didn't report having killed ssh-agent. If it was actually ssh-agent that was hung, I would absolutely expect ssh or ssh-add to hang trying to talk to it. -- 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