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 documentation that SSH markers aren't supported #11586

Merged
merged 1 commit into from
Jan 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/doc/src/appendix/git-authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ publish their fingerprints on the web; for example GitHub posts theirs at
Cargo comes with the host keys for [github.com](https://github.com) built-in.
If those ever change, you can add the new keys to the config or known_hosts file.

> **Note:** Cargo doesn't support the `@cert-authority` or `@revoked`
> markers in `known_hosts` files. To make use of this functionality, use
> [`net.git-fetch-with-cli`]. This is also a good tip if Cargo's SSH client
> isn't behaving the way you expect it to.

[`credential.helper`]: https://git-scm.com/book/en/v2/Git-Tools-Credential-Storage
[`net.git-fetch-with-cli`]: ../reference/config.md#netgit-fetch-with-cli
[`net.ssh.known-hosts`]: ../reference/config.md#netsshknown-hosts
Expand Down