git+sshでデフォルト(id_rsa)以外のキーファイルを指定したい場合
メモ。詳細は後日書くかもしれない。
~/.ssh/configファイルの内容を以下のように記述。
Host Foo HostName example.com User foo IndentityFIle ~/.ssh/id_other
git remote add コマンドを以下のようにする。
$ git remote add origin user@Foo:/your/repository.git
メモ。詳細は後日書くかもしれない。
~/.ssh/configファイルの内容を以下のように記述。
Host Foo HostName example.com User foo IndentityFIle ~/.ssh/id_other
git remote add コマンドを以下のようにする。
$ git remote add origin user@Foo:/your/repository.git