Skip to content
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