There's some syntax in the .ssh/known_hosts file to indicate that a machine
may be known by more than one name, and provide a realname-real IP mapping:
cluster17.domain,cluster.domain,10.0.0.17,10.0.0.18 ssh-rsa AAA....xyz
cluster18.domain,cluster.domain,10.0.0.17,10.0.0.18 ssh-rsa AAA....abc
But I'm using OpenSSH 4, which has hashed domains. So the normal entries
look like:
|1|Dde5g6...=|adh3c5d...= ssh-rsa AAA...
How do I represent the cluster syntax in this form? Let's assume I can use
-oStrictHostKeyChecking=no to get the keys into the file in the first place
(my clusters aren't too big, so I can just run a few SSH commands until I
happen to capture the keys for all of them).
Thanks
Theo
add -oHashKnownHosts=no and Bob's your uncle.
DES
--
Dag-Erling Smørgrav - d...@des.no
Right, but known_hosts hashing is there for a reason (to prevent followon
attacks once a machine and keys are compromised). Is there a way to do this
without losing hashing?
Theo