Git notes

  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).
ssh key
 ssh git@github.com       sucess QGB
ssh-keygen        can not create
git              Permission denied 

设置  .ssh 文件夹权限,成功解决git问题

  

posted @ 2015-11-01 13:57  QGB  阅读(115)  评论(0编辑  收藏  举报