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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2006-07-07 at 10:11 -0500, Aaron Konstam wrote:
> 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. 

It's also possible that while he may be running ssh-agent on the
machine, he may not have yet run ssh-add to add the key to the agent to
facilitate passwordless login (not comepletely -- you still have to give
your master password to ssh-add) 



Attachment: signature.asc
Description: This is a digitally signed message part

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux