ssh-agent doesn't work with eval

S Reed sreed@spamcop.net
Tue Mar 20 17:21:00 GMT 2007


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.
  Scott

You can see the details on the attached dump, but in summary:
Win2k sp4
Cygwin dll 1.5.22
bash 3.2.5(8)
OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20070320/d93d1d38/attachment.ksh>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list