How to convert Putty registry entry to known_hosts format?

4

Using Putty, I connected to a remote host. As this was a first time me doing so, as expected, ssh key was added.

Google helped me find registry entry, but it is not in a known_hosts format.

How can I take that entry and transform it into the known_hosts format please?

JAM

Posted 2014-07-22T18:58:39.450

Reputation: 349

2

It probably would be a lot easier to just use ssh-keyscan on your *nix box to generate a know known_hosts file. But +1 anyway. I suspect converting it would probably involve taking the base16 value from the registry and converting to to base64, which seems to be the format in known_hosts. But there must be some other changes required also.

– Zoredache – 2014-07-22T19:14:05.467

It seems @Zoredache is probably correct. At least according to the source code the host fingerprint should be compatible with OpenSSH.

– heavyd – 2014-07-23T05:41:21.067

No answers