GitHubでのSSH接続エラー
https://gyazo.com/892ac4d7223eb1838fdd1ff5dd4d7efe
code:terminal
ssh git@github.com
git@github.com: Permission denied (publickey).
GitHubのヘルプページ
id_rsaファイルをサービスごとに分けてしまっているせいでエラーが出るっぽい
ssh-add -K ~/.ssh/id_rsa_github をすることで接続できてる(謎)
接続テスト ssh -T git@github.com
code:terminal
git clone git@github.com:becolomochi/beco_brush.git
Cloning into 'beco_brush'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.