Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
May 5, 2011, 4:12 pm
rate this thread
Huh? the host key format has IP or hostname as the first thing in the line,
and that's what ssh-keyscan gives as well.
If you want IP rather than name, you can use IP on the ssh-keyscan commandline
and it's stored that way. Heck, if you want both, that works too:
Mark Rafn email@example.com <http://www.dagon.net/
Re: ssh-keyscan output format lacks IP address, does not produce usable results
I've been triple checking, and checking with current Debian and RHEL
releases. The actually working host key format in ssh_known_hosts or
$HOME/.ssh/known_hosts hast *BOTH* the hostname and the IP address.
Listing both, separated by commas in a single stanza, works well. It
is sadly underdocumented.
- » openssh doesn't appear to do the inaddr-arpa lookups correctly
- — Next 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