Problem with ssh agent

keychainpasswordsshterminal

I'm having a problem using ssh agent to make sure I don't have to enter a password each time a certain program uses my id_rsa private key.

I did ssh-add -K ~/.ssh/id_rsa and it seemed to add an entry to my keychain

But it continues to prompt me. When I go into keychain under access control, it looks like maybe it's because it's not set

Best Answer

Double check your permissions in those files, if they are not like this, it won’t work:

-rw-------  1 martin  staff   1675 Jul 27  2009 id_rsa
-rw-r--r--  1 martin  staff    403 Jul 27  2009 id_rsa.pub

UPDATE: If you see that the files have an @, that means they have “extended attributes”.

You can see what they are by issuing:

xattr -l <filename>