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>
index | next in thread | previous in thread | raw e-mail
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 server, 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 backwards. If you're trying to login into the server across the network, the id_rsa.pub file goes into .ssh/authorized_keys file on the server, and the id_rsa file lives on your laptop, all nicely secured with a passphrase in case somebody steals your laptop. --Jon Radel jon@radel.comhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CC9EB2C.1060804>
