Date: Thu, 28 Oct 2010 17:29:16 -0400 From: Jon Radel <jon@radel.com> To: freebsd-questions@freebsd.org Cc: Peter Harrison <peter.piggybox@virgin.net> Subject: Re: ssh key authentication problem... Message-ID: <4CC9EB2C.1060804@radel.com> In-Reply-To: <20101028193953.GA6922@laptop.piggybox> References: <20101028193953.GA6922@laptop.piggybox>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format. --------------ms020100090005050000020203 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable On 10/28/10 3:39 PM, Peter Harrison wrote: > Can anyone help me debug an ssh key-based authentication problem? > > I have an 8.1-R server running sshd, with one user account. On the serv= er, I've used ssh-keygen to generate id_rsa and id_rsa.pub. > > On my laptop I then pulled the id_rsa.pub file over and: > > % cat id_rsa.pub>> .ssh/authorized_keys > Either I'm having reading comprehension problems, or you've got things=20 backwards. If you're trying to login into the server across the=20 network, the id_rsa.pub file goes into .ssh/authorized_keys file on the=20 server, and the id_rsa file lives on your laptop, all nicely secured=20 with a passphrase in case somebody steals your laptop. --Jon Radel jon@radel.com --------------ms020100090005050000020203--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CC9EB2C.1060804>