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

Add option to accept new fingerprint #3

Open
clue opened this issue Dec 8, 2018 · 1 comment
Open

Add option to accept new fingerprint #3

clue opened this issue Dec 8, 2018 · 1 comment
Labels
help wanted Extra attention is needed new feature New feature or request

Comments

@clue
Copy link
Owner

clue commented Dec 8, 2018

Right now, this project will complain when you're connecting to a server for the first time and you have not already accepted have its fingerprint. You may simply connect on the command line with ssh [email protected] and accept this initial fingerprint (TOFU: trust on first use).

We should add an option to pass an explicit fingerprint to this library so that one no longer has to connect to a server on the command line before being able to use this library.

@clue clue added new feature New feature or request help wanted Extra attention is needed labels Dec 8, 2018
@clue
Copy link
Owner Author

clue commented Jul 30, 2023

See also the provisional ssh URI scheme definition in https://www.iana.org/assignments/uri-schemes/prov/ssh:

ssh://[<user>[;fingerprint=<host-key fingerprint>]@]<host>[:<port>]

See also expired draft https://datatracker.ietf.org/doc/draft-salowey-secsh-uri/ & https://www.ietf.org/archive/id/draft-salowey-secsh-uri-00.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed new feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant