よく忘れるのでメモ
.ssh/config
Host github.com
User git
Port 22
HostName github.com
IdentityFile ~/.ssh/id_github
TCPKeepAlive yes
IdentitiesOnly yes
Host bitbucket.org
User git
Port 22
HostName bitbucket.org
IdentityFile ~/.ssh/id_github
TCPKeepAlive yes
IdentitiesOnly yes
Host *
User gimpei
Port 22
UseKeychain yes
AddKeysToAgent yes
IdentityFile ~/.ssh/id_github
TCPKeepAlive yes
IdentitiesOnly yes