Skip to content

Commit

Permalink
docs: add warning for GitHub SSH key deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
Logicer16 authored and twpayne committed Dec 6, 2023
1 parent 8589c01 commit 0cf9f29
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ The returned value is a slice of structs with `.ID` and `.Key` fields.
by using the `-v` / `--verbose` option when running `chezmoi apply` or
`chezmoi update`.

Additionally, GitHub automatically [removes keys which haven't been used in
the last
year](https://docs.github.com/en/authentication/troubleshooting-ssh/deleted-or-missing-ssh-keys).
This may cause your keys to be removed from `~/.ssh/authorized_keys`
suddenly, and without any warning or indication of the removal. You should
provide one or more keys in plain text alongside this function to avoid
unknowingly losing remote access to your machine.

!!! example

```
Expand Down

0 comments on commit 0cf9f29

Please sign in to comment.