I would like to create a known_host entry but for some security ( permission ) reasons cannot add it directly when prompted for adding.
Are you sure you want to continue connecting (yes/no) --> cannot say Yes
Wondering if there is a way to generate the entry ( print on command line ), so I can put it manually in the known_hosts file. I have the RSA key fingerprint.
TO paraphrase the question can I specify my own known_host entry file to generate the above entry ?
Just fyi:- I also have access to ssh-keygen command, ssh-keyscan and others are not available. Please comment if above information is insufficient and I can answer