Date: Thu, 7 Dec 2006 12:53:03 -0800 From: Chuck Swiger <cswiger@mac.com> To: Erik Richards <erikr@magnetsusa.com> Cc: freebsd-questions@freebsd.org Subject: Re: RSA/DSA authentication Message-ID: <C15F6A53-19C3-463C-8A79-801823461804@mac.com> In-Reply-To: <2150E71679C07E419BDA4250480BCF2202508A58@adonis.magnetsusa.com> References: <2150E71679C07E419BDA4250480BCF2202508A58@adonis.magnetsusa.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C15F6A53-19C3-463C-8A79-801823461804>