Last active
September 30, 2017 15:47
-
-
Save r1w1s1/9d6886bd33d909ed1fa5a672108287b4 to your computer and use it in GitHub Desktop.
~/.ssh/config Example
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
Host * | |
ServerAliveInterval 60 #Avoid disconnection | |
StrictHostKeyChecking no #Disable SSH Host Key Checking | |
UserKnownHostsFile /dev/null #avoid create the ssh/known_hosts file | |
Host prod | |
HostName xx.xx.xx.xx | |
User root | |
Host qa | |
HostName xx.xx.xx.xx | |
User root | |
Port 2254 | |
Host db | |
HostName xx.xx.xx.xx | |
User db_admin | |
IdentityFile ~/.ssh/db.key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment