Files
dotfiles/.ssh/config
Julian Prein db8f7632be ssh: Add aliases to hosts
Add aliases so that I can type short ssh commands.

This also has the benefit that I can lookup in my own files how the
`Hostname` option is called (I am always unsure if it is not `Host`).
2022-07-12 21:00:05 +02:00

17 lines
330 B
Plaintext

Include config.priv
Host *
AddKeysToAgent yes
IdentitiesOnly yes
Host aur.archlinux.org aur
Hostname aur.archlinux.org
IdentityFile ~/.ssh/aur-druckdev
User aur
Host github.com github
Hostname github.com
IdentityFile ~/.ssh/github-druckdev
Host gitlab.com gitlab
Hostname gitlab.com
IdentityFile ~/.ssh/gitlab-druckdev