ssh-key-action icon indicating copy to clipboard operation
ssh-key-action copied to clipboard

Syntax for known_hosts

Open RevealedFrom opened this issue 1 year ago • 1 comments

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):

image

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?

RevealedFrom avatar Oct 20 '23 05:10 RevealedFrom

Have you tried using ssh_keyscan on the host you're trying to reference..?

ashellwig avatar Oct 21 '23 00:10 ashellwig