Last active
March 10, 2022 08:41
-
-
Save justerror/2dc121399b98e812cf2a8afb9b2edb36 to your computer and use it in GitHub Desktop.
SSH config optimised for macOS
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
ServerAliveInterval 120 | |
TCPKeepAlive no | |
Compression yes | |
UseKeychain yes | |
AddKeysToAgent yes | |
Host example.com | |
User dev | |
HostName 127.0.0.1 | |
Port 2222 | |
IdentityFile ~/.ssh/id_rsa | |
Host * | |
User root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment