Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax for known_hosts #265

Open
RevealedFrom opened this issue Oct 20, 2023 · 1 comment
Open

Syntax for known_hosts #265

RevealedFrom opened this issue Oct 20, 2023 · 1 comment

Comments

@RevealedFrom
Copy link

RevealedFrom commented Oct 20, 2023

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?

@ashellwig
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants