LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (http://www.linuxquestions.org/questions/linux-security-4/)
-   -   using ssh-agent (http://www.linuxquestions.org/questions/linux-security-4/using-ssh-agent-524174/)

Jzarecta 01-30-2007 04:52 PM

using ssh-agent
 
I am tirying to follow this tutorial but is not working for some reason.

I wonder if anyone can help me out, so I do the following, I create the key: ssh-keygen -t dsa -f ~/.ssh/id_dsa -C "jza@laptop".

Then I copy the key to the remote server:
scp ~/.ssh/id_dsa jza@ghpadmin:.ssh/

Finally I do the following command, which inserts the key into the authorized_keys file.

cat ~/.ssh/id_dsa.pub | ssh jza@server 'cat - >> ~/.ssh/authorized_keys'

The final step is just doing the signing however instead of asking me for a passphrase it ask me for the general command. So I was supposed to get this:
Code:

$ ssh jza@server
      Enter passphrase for DSA key 'you@example.com': ^D
      $

instead I got this:
Code:

$ ssh jza@server
      jza@server's password:
      $

So what did I miss for not getting the passphrase instead of the password. :Pengy:

alunduil 01-30-2007 06:28 PM

I'd recommend looking at this tutorial as well: http://www.gentoo.org/proj/en/keychain/. If you still have troubles with it, post back.

Regards,

Alunduil


All times are GMT -5. The time now is 04:51 PM.