How can I create an entry in a ssh known_hosts file from hostname and host key?
I want to do it without trying to connect to the remote system, automaticaly loading the key over untrusted network and adding it to ~/.ssh/known_hosts by answering "yes" and hoping that there is currently no man in the middle attac. Instead I want to go to the remote system copy some files from /etc/ssh to an USB storage pen, or floppy disk, carry that media to the other system and create the known_hosts entry from the content of that media.