On Wed, Dec 10, 2008 at 11:04:25PM +0100, Till Maas wrote:
> On Wed December 10 2008, Mike McGrath wrote:
> > http://fedoraproject.org/wiki/Infrastructure/SOP/ssh_known_hosts
> 
> I suggest to use
> 
> echo app1,10.8.34.59 $(cat /etc/ssh/ssh_host_rsa_key.pub)

You may also want to include the FQDN and any other aliases for each 
machine.  Otherwise if you try to ssh to a host using an FQDN or 
alias/CNAME, ssh will add a new entry to ~/.ssh/known_hosts with the 
new name, even if an entry for that IP address already exists in the 
global /etc/ssh/ssh_known_hosts.

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list

Reply via email to