Skip to content

Commit

Permalink
source-control: gist for sharing multiple ssh keys
Browse files Browse the repository at this point in the history
  • Loading branch information
practicalli-johnny committed Dec 29, 2023
1 parent 756d08c commit 8146ab5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/source-control/git-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,11 @@ Set the `gpg.ssh.allowedSignersFile` file in the Git Configuration
git config gpg.ssh.allowedSignersFile "$HOME/.config/git/allowed-signatures"
```

??? HINT "SSH keys on multiple machines"
When using different SSH keys across multiple computers, add all public keys to the `allowed-signatures` file.

Use a secret GitHub gist if you do not wish to add public keys to a shared git repository for the Git configuration.


## Clone aliases for a GitHub domain

Expand Down

0 comments on commit 8146ab5

Please sign in to comment.