ssh-key-action
ssh-key-action copied to clipboard
Syntax for known_hosts
I couldn't find documentation on the syntax used by known_hosts
. What should the syntax be?
For the host I want to connect to, I have the following information (from WinSCP):
How should I code this into the known_hosts
field?
Also, it says hosts, plural? Shouldn't it be just one host, the one I am trying to connect to?
Have you tried using ssh_keyscan
on the host you're trying to reference..?