I just installed ubuntu 13.10 and I was about to add my identity to my ssh-agent so I open up a Terminal and did this
bjorgvin@buntu:~$ ssh-add -l
The agent has no identities.
bjorgvin@buntu:~$ ssh-add
bjorgvin@buntu:~$ ssh-add -l
The agent has no identities.
bjorgvin@buntu:~$
any ideas?
Best Answer
From
man ssh-add
:So, because of
The agent has no identities.
error, you probably don't have those files or maybe those files are accessible by others. You can check these using the following command:Also, after you run
ssh-add
command, runecho $?
to see the error status of the previous command. If exit status returned 0, the command was executed successfully. If exit status returned a non-zero value, the command failed to execute.See
man ssh-add
for more info.