Answer the question
In order to leave comments, you need to log in
What does the ssh-keyscan command do?
I understand the principle of building an ssh connection using keys ... But I can't figure out why this command is needed, and what keys it pulls into the known hosts file. Maybe I'm confused with these private and public keys. Could you explain to me the practical need for this command. And the main question, what am I fixated on, why do hosts give this information? let public keys that are used as locks and have nothing to do with decryption ... but I think that the remote host should not give this information, but it happens that this is possible, what's the idea?
PS As I understand it, they are additionally hashed when added to known_hosts, is that true? What for?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question