首先呢,我已经弄好了ssh的密钥,并添加到github账户的公钥下边,ssh -T git@github.com是可以的,返回:
Hi xx! You’ve successfully authenticated, but GitHub does not provide shell access.
但是,当我想要git push的时候,总是失败,提示是:
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.