[FC5] how to use public key login for ssh?
Nigel Wade
nmw at ion.le.ac.uk
Fri Jul 7 09:06:42 UTC 2006
Man-Chi Leung wrote:
> hi ,
>
> sorry that I am a newbie to fedora FC5, I used to be in Solaris
> environment.
> i could not configure correctly for public key ssh login as I used to do
> in Solaris.
>
> my step:
>
> 1) cat my public key and put in my $fedora_user/.ssh/authorized_keys
>
> 2) configure fedora's /etc/ssh/sshd_config, uncomment the following 2 lines
>
> PubkeyAuthentication yes
> AuthorizedKeysFile .ssh/authorized_keys
>
> 3) restart sshd with /sbin/service sshd restart or restart fedora ...
>
> However, ssh login still prompts me for password.....
>
> did i miss anything ? pls help!!
>
> ~manchi
>
>
Try using the -v flag on the ssh command. This outputs some verbose info and may
indicate where the problem is.
I presume the private key on the client matches the public key you have
installed on the server?
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw at ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
More information about the fedora-list
mailing list