Created
February 18, 2022 02:15
-
-
Save kenjij/60c612253a6d5d8c8be0622915dee7a4 to your computer and use it in GitHub Desktop.
User SSH config
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
# Save this at ~/.ssh/config | |
Host nickname | |
Hostname 192.168.0.123 | |
User nick | |
Port 2222 | |
IdentityFile ~/.ssh/id_nick | |
Compression yes | |
Host * | |
Compression no | |
# Other Host directive pattern match | |
# Host * | |
# Host 192.168.0.* | |
# Host 192.168.0.10* | |
# Host 192.168.0.* !192.168.0.111 (exclusion) | |
# ssh -F /dev/null [email protected] (ignore config) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment