delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Date: | Sat, 28 Jan 2012 16:00:09 -0500 |
Message-ID: | <CAEdY9m-uhtQmwBfB-Hj7H5onZzSbDoz=YzEzFLR0kPphFdoOfw@mail.gmail.com> |
Subject: | OpenSSH ssh-agent regression in 5.9p1-1: "Could not open a connection to your authentication agent" error |
From: | Philip Lowman <philip AT yhbt DOT com> |
To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id q0SL0QqP019114 |
There appears to be a regression in the most recent OpenSSH cygwin package (5.9p1-1, built 1/18/2012) related to the ssh-agent program. The ssh-add program is unable to add SSH keys because the ssh-agent program doesn't appear to be creating its socket file properly in /tmp. Platform: Windows 7 64-bit Steps to reproduce: 1. Install OpenSSH 5.9p1-1 in Cygwin (or upgrade to it) 2. Run the ssh-agent program spawning a bash shell $ ssh-agent bash 3. Run the ssh-add program with no arguments: $ ssh-add 4. You will receive the following error message Could not open a connection to your authentication agent. 5. You should be able to confirm that the SSH_AUTH_SOCK environment variable points to a file that doesn't exist in /tmp $ env | grep ^SSH SSH_AGENT_PID=8564 SSH_AUTH_SOCK=/tmp/ssh-ipSOmcSz8532/agent.8532 $ ls -l /tmp/ssh* ls: cannot access /tmp/ssh*: No such file or directory Workarounds: Downgrade to OpenSSH_5.8p1 using Cygwin's setup.exe. -- Philip Lowman -- 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 |