sshキーをホスト毎に分ける。

例えば複数のサーバーで公開鍵を使って認証している場合、gitコマンドで使う鍵を変えなければいけない。■ ssh configを設定する cd ~/.ssh vim configHost github.com HostName github.com User git IdentityFile ~/.ssh/id_rsa Port 22 Host other.git.com HostName other.git.com User git IdentityFile ~/.ssh/id_rsa_o…