[FC5] how to use public key login for ssh?

Aaron Konstam akonstam at sbcglobal.net
Fri Jul 7 15:11:13 UTC 2006


On Fri, 2006-07-07 at 12:08 +0800, 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
> 
> 
It is not clear to me that you understand that the public key from the
sending machine (the one issuing the ssh) is put in the authorized keys
of the targeted machine.

Also where you put it depends of what coding the key was generated in.
rsa1, rsa or dsa. 
-- 
Aaron Konstam <akonstam at sbcglobal.net>




More information about the fedora-list mailing list