msysgit Permission denied (publickey)

来源:互联网 发布:淘宝会员名和淘宝昵称 编辑:程序博客网 时间:2024/06/04 19:42

报错信息:

$ git clone git@github.com:guokexxx/test20160421.gitCloning into 'test20160421'...Permission denied (publickey).fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.

进入目录  ~/.ssh:

guoke@guoke-PC MINGW64 ~/.ssh$ pwd/c/Users/guoke/.ssh

执行命令:

guoke@guoke-PC MINGW64 ~/.ssh$ chmod 700 ~/.ssh/id_rsa

搞定!


0 0
原创粉丝点击