の
アカウントでつかいまわすことはできない。
解決方法はここに載っていた
$ ssh-keygen -t rsa -C 'ayumin@another' Generating public/private rsa key pair. Enter file in which to save the key (/Users/ayumin/.ssh/id_rsa): /Users/ayumin/.ssh/id_rsa_another Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /Users/ayumin/.ssh/id_rsa_another. Your public key has been saved in /Users/ayumin/.ssh/id_rsa_another.pub. (略) $ ssh-add /Users/ayumin/.ssh/id_rsa_another
#Default Github user Host github.com HostName github.com User git IdentityFile /Users/ayumin/.ssh/id_rsa # Another Github user Host github-another HostName github.com User git IdentityFile /Users/ayumin/.ssh/id_rsa_another
$ git clone git@github-another:another/somethig.git
とかできるようになる。