Host github.com User git HostName github.com PreferredAuthentications publickey IdentityFile ~/.ssh/github Host gitlab.com User git HostName gitlab.com PreferredAuthentications publickey IdentityFile ~/.ssh/gitlab Host server User ubuntu HostName 152.70.52.247 IdentityFile ~/.ssh/server Host local-server User guus HostName 81.206.144.139 IdentityFile ~/.ssh/local-server Host mail-server User ubuntu HostName 158.101.217.202 IdentityFile ~/.ssh/mail-server