I'm currently trying to get ssh-agent
to work.
No matter what I'm doing, I just can't get the around the password prompt.
For testing I even tried connecting to localhost:
ssh-keygen
to generate theid_rsa
ssh-add id_rsa
in the .ssh folderssh-add -l
shows the correct fingerprintssh user@localhost
still asks me for a passwordeval $(ssh-agent -s)
shows the process running
Is there something else I need to configure before using the ssh-agent? I tried it with several machines and users, as well as RSA and DSA keys.
I'm using Debian 7 btw.
I would appreciate if someone could give me a hint, where my problem might be.
~user/.ssh/authorized_keys
?authorized_keys
is the list of client keys that are allowed to login to the account, so it has to be on the server.ssh-agent
is how you save the password for the private key file on the local machine.authorized_keys
tells the remote machine which private keys to allow to login.