Last active
June 14, 2024 23:11
-
-
Save pavank/8e698aa802437c24c91f17e1af1db945 to your computer and use it in GitHub Desktop.
Linux Client-OpenSSH 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 file as ~/.ssh/config | |
# Add permissions chmod 600 ~/.ssh/config | |
# Optional permissions chmod $USER ~/.ssh/config | |
##default for all hosts## | |
Host * | |
ForwardAgent No | |
ForwardX11 no | |
Compression yes | |
Protocol 2 | |
PreferredAuthentications publickey,password | |
IdentityFile ~/.ssh/id_rsa | |
ServerAliveInterval 60 | |
ServerAliveCountMax 30 | |
## Per Host Settings ## | |
Host mydev | |
HostName mydevmachine.westeurope.cloudapp.azure.com | |
User myprojectuser | |
Port 22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment