One thing about known_hosts

Damien Miller djm at
Fri Mar 23 10:20:14 EST 2001

On Thu, 22 Mar 2001, Krzysztof Oledzki wrote:

> Hello,
> I have just noticed one nice feature of OpenSSH known_hosts
> implementation. When ssh connects to new host it add both ip and name of
> this host to known_hosts file in the same line. Unfortunetly when I
> execute ssh once again with onother name for taht host (for example
> fqdn) it creates another entry for that host. Is it possible to add this
> name in the same line in case of ip match?

You can set up HostKeyAlias entries in the client config.


| Damien Miller <djm at> \ ``E-mail attachments are the poor man's
|          /   distributed filesystem'' - Dan Geer

More information about the openssh-unix-dev mailing list