delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/20/12:28:31

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <46001815 DOT 7090807 AT spamcop DOT net>
Subject: RE: ssh-agent doesn't work with eval
Date: Tue, 20 Mar 2007 17:28:01 -0000
Message-ID: <001301c76b15$1c633f20$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <46001815.7090807@spamcop.net>
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 20 March 2007 17:21, S Reed wrote:

> ssh-agent was working fine for me over a year ago. I am sorry I cannot
> tell you what version I was running then. I upgraded a few times since
> then (now running 1.5.22) and I started getting "Could not open a
> connection to your authentication agent." from ssh-add. I found that if
> I call ssh-agent on the command line and then issue the set and export
> commands myself, then ssh-add works fine. It's just when I use "eval
> `ssh-agent`" that ssh-add fails. With "eval `ssh-agent`" the env vars
> are fine, the socket file is in /tmp, the agent process is running,
> SSH_AUTH_SOCK is set and exported - basically it all looks like it
> should work - but ssh-add does not work. If anyone can explain this or
> at least tell me how to fix it, I would greatly appreciate it.

  WAG:  Does "eval `ssh-agent | d2u`" work any better?

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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