Permission denied (publickey).
のエラーにハマったとき。
ssh -T 自分のgithubのID@github.com Permission denied (publickey).
そもそもアクセスできるユーザ登録してない
commit時に出るこれも行う?
git config --global user.name "Your Name" git config --global user.email you@example.com If the identity used for this commit is wrong, you can fix it with: git commit --amend --author='Your Name <you@example.com>'
多分この設定だな
.ssh/known_hosts
ssh -T git@github.com The authenticity of host 'github.com (207.97.227.239)' can't be established. RSA key fingerprint is ほげ. Are you sure you want to continue connecting (yes/no)? yes Failed to add the host to the list of known hosts (/home/admin/.ssh/known_hosts). Permission denied (publickey).