0

I want to gather the host keys but ssh-keyscan command is not found on my linux. Anyway to achieve the same with some other commands without adding this command explicitly.

I am running with Wind River Linux 8.0.

  • windriver Linux, or Wind River Linux? – EightBitTony Jan 23 '18 at 9:53
  • @EightBitTony Wind River Linux – BRT Jan 23 '18 at 10:47
  • You might be able to do something like ssh -o StrictHostKeyChecking=no -N $hostname for each host, and then pull all the keys out of ~/.ssh/known_hosts – Patrick Jan 23 '18 at 13:26
0

You may check before which keys are available via ssh <host> -Q key-plain. At least you can gather the host key in a visualized way via ssh <host> -o VisualHostKey=yes. I am not sure if this is reversible.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.