如题,按照网上的配置SSHkey (不知道的可以百度搜索MAC Git SSH 配置)后,使用sourcetree 仍然出现如下问题:
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
最后总结一下,常规配置完成后一定要执行 ssh-add id_rsa,然后重新再试一下,妥了,下面附上完整配置SSH key流程