You are not logged in.
If I first run ...
ssh-agent /bin/bash
...I can unlock my private key and store it in memory just fine, but normally, this happens:
[max@killterm3 ~]$ ssh-add .ssh/id_rsa
Enter passphrase for .ssh/id_rsa:
SSH_AGENT_FAILURE
Could not add identity: .ssh/id_rsa
What's going on? Should I file a bug report?
Offline
Any ideas? This is really annoying
Offline
Interesting, ssh-agent with no options dumps a small script. If I run it, I can add keys.
Offline
Baah, fooled again! Will be doing this when I am able to log out: https://wiki.archlinux.org/index.php/SSH_Keys#ssh-agent
Offline
Check my sig -- my .bashrc has the setup I use. I use keychain, which is basically just a wrapper around ssh-agent. Also, make sure your ssh permissions are correct. It's quite picky about other people not reading your keys!
Scott
Offline
Check my sig -- my .bashrc has the setup I use. I use keychain, which is basically just a wrapper around ssh-agent. Also, make sure your ssh permissions are correct. It's quite picky about other people not reading your keys!
Scott
Ahh, there we go. I tried to ditch keychain, but I guess this is one of the useful features I needed back
eval "$(keychain -q --eval --agents ssh)"
This works nicely. Doesn't bother me about anything, but enables "memory" for unlocked keys. Thanks!!
Offline