git 的ssh key对于不同的用户存放在不同位置(用户根目录下如/var/root/.ssh/)搞混用户会出现 Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. sh-3.2# ssh -T git@github.com Permission denied (publickey).
原文:http://www.cnblogs.com/qgbcs/p/4927600.html