ssh/.ssh/config (view raw)
1Host *
2 ServerAliveInterval 20
3 ServerAliveCountMax 2
4
5Host github.com
6 IdentityFile ~/.ssh/github
7 Hostname ssh.github.com
8 Port 443
9
10Host gitlab.com
11 IdentityFile ~/.ssh/github
12 Hostname altssh.gitlab.com
13 User git
14 PreferredAuthentications publickey
15 Port 443
16
17Host droplet
18 IdentityFile ~/.ssh/id_rsa
19 Hostname 139.59.95.34
20 User root
21 Port 443
22
23Host rishav
24 IdentityFile ~/.ssh/github
25 Hostname 139.59.17.10
26 User fox
27 Port 443