Problem with X86_64 ssh-agent
Alive
alive4ever@live.com
Fri Oct 10 15:11:00 GMT 2014
It's fine. Maybe there are old sockets remaining on /tmp/ directory? Try
deleting all files and folders in the /tmp/ dir and relaunch ssh-agent.
I usually launch ssh-agent with this command
```
eval $(ssh-agent)
```
After launching ssh-agent with the above command, there are two
environment variables related to ssh-agent: SSH_AGENT_PID and
SSH_AUTH_SOCK. To verify that those environments are available, run this
command
```
env | grep -E SSH
```
You should see output similar to this
```
env | grep -E ^SSH
SSH_AGENT_PID=4416
SSH_AUTH_SOCK=/tmp/ssh-VRhorGk5KFI0/agent.5000
```
The rest is adding ssh keys to the agent.
```
ssh-add ~/.ssh/id_rsa
```
The added keys should be available for use with ssh in the same terminal
session.
If you intend to use the same ssh-agent instance on multiple terminal
sessions, you have to set the value of SSH_AGENT_PID and SSH_AUTH_SOCKS
according to the first ssh-agent instance.
--
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
More information about the Cygwin
mailing list