Re: Unable to Automate SSH authentication

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

 



Le 26/06/2009 07:09, Rahul Tidke a écrit :
> Hello,
>    I am configuring Fedora Core 6 and CentOS5.3 for automatic SSH
> authentication, ssh version is OpenSSH_4.3p2, OpenSSL 0.9.8b, I  have 
> executed following commands  but still both systems prompt me for
> passwords instead of using public keys.
> 
> ssh-keygen -b 1024 -t dsa (on both hosts with empty pass phrase)
> ssh-agent $BASH (on both hosts)
> ssh-add /root/.ssh/id_dsa (on both hosts)
> created "authorized_keys" file in /root/.ssh directory on both the hosts
> and copied (exchanged) id_dsa.pub keys to it.
> SSH is open on both the hosts.
> 

Probably a permission issue on .ssh (should be 600)

Best solution to install a key on e remote host is to use the
ssh-copy-id command.

+

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux