Skip to content

Instantly share code, notes, and snippets.

@kiyui
Last active June 13, 2017 13:03
Show Gist options
  • Save kiyui/4aabfde39add3db9af30bf87cf0736d8 to your computer and use it in GitHub Desktop.
Save kiyui/4aabfde39add3db9af30bf87cf0736d8 to your computer and use it in GitHub Desktop.
SSH configuration file: ~/.ssh/config
Host $HOST
IdentitiesOnly yes
Hostname $IP
IdentityFile ~/.ssh/$private_key
User $username
Host aur.archlinux.org
IdentityFile ~/.ssh/aur
User aur
Host github.com
Hostname ssh.github.com
IdentityFile ~/.ssh/github
Port 443
ControlMaster auto
ControlPath /tmp/%r@%h:%p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment