Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Theo Markettos
October 29, 2009, 9:47 pm
rate this thread
DNS. Each node has a different host key, so logging into 'cluster.domain'
rather than 'cluster17.domain' often gives me a 'Man in the middle' host key
warning (as it should).
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
|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).
- Dag-Erling SmÃ¸rgrav
October 29, 2009, 10:49 pm
- » Cygwin+OpenSSH on XP: Scheduled SFTP job fails - but manual runs fine
- — Previous thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum