RSA/DSA authentication
Chuck Swiger
cswiger at mac.com
Thu Dec 7 12:53:12 PST 2006
On Dec 7, 2006, at 9:44 AM, Erik Richards wrote:
> Now I'm editing some of my /etc/ssh/sshd_config file like
> uncommenting:
> (correct? I shouldn't be editing /etc/ssh/ssh_config?)
>
> RSAAuthentication yes
> PubkeyAuthentication yes
> AuthorizedKeysFile /root/.ssh/authorized_keys
> (I did rename the key I was using this and made sure it was all on
> one line)
Once you've used ssh-keygen to make a keypair, you should copy
id_dsa.pub (or id_rsa.pub) to authorized_keys, not move it. And you
need to push the new version of authorized keys to the machine you
are SSH'ing into, as well as having the id_whatever private key
available on the machine you are SSH'ing from....
--
-Chuck
More information about the freebsd-questions
mailing list