Created
March 2, 2021 22:48
-
-
Save guychouk/98304d89d34955cf490052026fe6c460 to your computer and use it in GitHub Desktop.
π A sane base config for SSH.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ForwardAgent true | |
# Necessary for not breaking ssh on linux | |
IgnoreUnknown UseKeychain | |
# Use Keychain on macos - ignored on linux | |
UseKeychain yes | |
Host * | |
# This will look for private keys under the `~/.ssh/keys` | |
# directory, named in the follwing format: <username>@<host> | |
IdentityFile ~/.ssh/keys/%r@%h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment