Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2005 18:18:29 -0800
From:      "Loren M. Lang" <lorenl@alzatex.com>
To:        Timothy Smith <timothy@open-networks.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ssh key authentication
Message-ID:  <20050220021829.GB4471@alzatex.com>
In-Reply-To: <421695E7.2050407@open-networks.net>
References:  <421695E7.2050407@open-networks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 19, 2005 at 11:27:03AM +1000, Timothy Smith wrote:
> i've followed the howto exactly and it still doesn't work. i don't know 
> wtf i'm doing wrong. here is the output i get in verbose mode
> 
<snip>
> Password:
> 
> the files i have in the local host
> 
> ls -l /home/timothy/.ssh/
> total 6
> -rw-------  1 timothy  wheel  672 Feb 19 11:06 id_dsa
> -rw-r--r--  1 timothy  wheel  621 Feb 19 11:06 id_dsa.pub
> -rw-r--r--  1 timothy  wheel  614 Feb 19 11:21 known_hosts
> 
> the files i have in the remote host
> ls -l
> total 4
> -rw-r--r--  1 timothy  wheel  241 Feb 18 22:44 authorised_keys
> -rw-r--r--  1 timothy  wheel  621 Feb 19 11:12 authorised_keys2

It looks like you copied id_dsa.pub to authorized_keys2.  On recent
versions of ssh, all public authorized keys are stored in
authorized_keys.  Do:

cat authorized_keys2 >> authorized_keys && rm authorized_keys2

> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050220021829.GB4471>