This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ssh-add could not open connection

I am running cygwin on WinXP I am having trouble with
ssh-agent not being able to establish the
SSH_AUTH_SOCK and SSH_AGENT_PID environment variables.
 then when i go to run ssh-add it can't find the
authentication agent.  I know this is the problem
becuase i manually executed the commands the ssh-agent
is supposed to do automatically.  however i did find
that i needed to add "set" in front of the environment
variable assignment.  Have i messed spmething up when
changing around permissions or what isn't this
supposed to work in cygwin?

results of ssh-agent:
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-CjVj1576/agent.1576; export
echo Agent pid 284;

then i check to see if the environment variables have
been added, and they have not:
$ set | grep SSH

So i add then manually by adding the set keyword in
$ set SSH_AUTH_SOCK=/tmp/ssh-CjVj1576/agent.1576;
$ set SSH_AGENT_PID=284; export SSH_AGENT_PID;

then i check to see that the EV's are there:
$ set | grep SSH

and now everything works...  There has got to be an
easier way.  please help.

Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]