delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Mon, 17 Oct 2011 11:07:57 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: ssh-agent fails to create socket |
Message-ID: | <20111017090757.GG30527@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <1318622532 DOT 29281 DOT YahooMailRC AT web80708 DOT mail DOT mud DOT yahoo DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <1318622532.29281.YahooMailRC@web80708.mail.mud.yahoo.com> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Oct 14 13:02, Zdzislaw Meglicki wrote: > After the latest upgrade (yesterday) I found that ssh-agent no longer works. It > looks like if fails to create a socket. Here is an illustration: > > gustav AT Crawley 503 $ ssh-agent bash -l > gustav AT Crawley 501 $ ls -r /tmp > ssh-zHtmAVFZ1412 > gustav AT Crawley 502 $ !! > ls -r /tmp > gustav AT Crawley 503 $ env | grep SSH > SSH_AGENT_PID=3624 > SSH_AUTH_SOCK=/tmp/ssh-zHtmAVFZ1412/agent.1412 > gustav AT Crawley 504 $ > > So: it has created the directory in /tmp, but then something goes wrong, > probably it can't make the socket, so it cleans up and removes the directory. My I can reproduce this issue. It's not that it can't create the socket, actually it does so, but for some reason it calls select and, when select returns, it decides to clean up and exit. It's tricky to debug because ssh-agent has no debug mode and for some reason it doesn't occur under strace. For the time being, the workaround is: $ eval `ssh-agent -s` Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |