Ryusuke Fuda's Tech Blog

Softweare Enginier about Web, iOS, Android.

2014-07-09から1日間の記事一覧

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

mac

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