> From: Brian Collins <[EMAIL PROTECTED]>
>
> >I'm kind of confused as to why I can't force my two Linux boxes to only
> >use PubkeyAuthentication . I have placed "PubkeyAuthentication yes" in
> >sshd_config and turned off "PasswordAuthentication no" but know matter
> >what I try the system I am attempting to connect to always asks for a
> >password. All .pub keys are either 644 with others 600
> >I have also created an "Authorized_keys2" and appended it with
> >""id_rsa.pub".
> >
> >The keys where made by "ssh-keygen -d -t rsa"
> >I then moved the id_rsa.pub to the server, appended authorized_keys2,
> >restarted the server, but I'm still asked for a password.
> >
> >Does anyone have any suggestion ?
>
> Is there a reason you didn't want to use dsa keys? I have DSA keys running
> fine using OpenSSH2.9p1-1 on RedHat 6.2 and 7.0.
>
> On the client side: from /home/username/.ssh, I ran ssh-keygen -t dsa
> On the host side: I appended the contents of the client's id_dsa.pub to
> /home/username/.ssh/authorized_keys2
>
> I noticed Pascal B. had a problem wherein he had to force protocol 2 as the
> default. I haven't had that problem, but I don't know what version of
> OpenSSH he's running.
openssh-2.5.1p1-9
openssl-0.9.6-32
On Linux-SuSE-7.1, both locally and remotely.
I had "Protocol 1,2" in ~/.ssh/config, both a ~/.ssh/identity and a
~/.ssh/id_dsa private keys, and I had uploaded only the
~/.ssh/id_dsa.pub into authorized_keys2.
The it asked for the password instead of skipping to protocole 2,
which was what I expected, until I set "Protocol 2,1".
--
__Pascal_Bourguignon__ (o_ Software patents are endangering
() ASCII ribbon against html email //\ the computer industry all around
/\ and Microsoft attachments. V_/ the world http://lpf.ai.mit.edu/
1962:DO20I=1.100 2001:my($f)=`fortune`; http://petition.eurolinux.org/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d? s++:++(+++)>++ a C+++ UB+++L++++$S+X++++>$ P- L+++ E++ W++
N++ o-- K- w------ O- M++$ V PS+E++ Y++ PGP++ t+ 5? X+ R !tv b++(+)
DI+++ D++ G++ e+++ h+(++) r? y---? UF++++
------END GEEK CODE BLOCK------