GitHubでのSSH接続エラー
https://gyazo.com/892ac4d7223eb1838fdd1ff5dd4d7efe
code:terminal
ssh git@github.com
git@github.com: Permission denied (publickey).
GitHubのヘルプページ
Connecting to GitHub with SSH - User Documentation
Generating a new SSH key and adding it to the ssh-agent - User Documentation
id_rsaファイルをサービスごとに分けてしまっているせいでエラーが出るっぽい
ssh-add -K ~/.ssh/id_rsa_github をすることで接続できてる(謎)
https://help.github.com/articles/testing-your-ssh-connection/
接続テスト ssh -T git@github.com
エラーのヘルプ https://help.github.com/articles/error-permission-denied-publickey/
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.
#エラー #ssh接続