Created
September 15, 2021 11:57
-
-
Save eckon/350dde04ccb4390e10b8b2fd8758aceb to your computer and use it in GitHub Desktop.
ssh config template
This file contains 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
AddKeysToAgent yes | |
Host * | |
ServerAliveInterval 300 | |
ServerAliveCountMax 3 | |
Host <name of config block> | |
Hostname <server name> | |
Port <port if not 22> | |
User <user if not root> | |
Preferredauthentications publickey | |
IdentityFile <path to private key> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment