ssh_host_keys

Chuck Anderson cra at WPI.EDU
Wed Dec 10 23:05:25 UTC 2008


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.




More information about the Fedora-infrastructure-list mailing list