$ vim ~/.ssh/config
Host alias
Hostname s1.namadomain.com
User namauser
Port 22
IdentityFile ~/.ssh/privatekey
Host alias2
Hostname s2.namadomain.com
User namauser
Port 22
IdentityFile ~/.ssh/privatekey2
$ ssh alias
Created
April 3, 2018 15:56
-
-
Save tajidyakub/c9ff4db1c10f36ea06cb07bf9d6dd12c to your computer and use it in GitHub Desktop.
SSH Config file multiple servers dengan multiple keys
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment