admin管理员组文章数量:1025292
问题描述:
Windows下启用Git bash,进行Git pull覆盖,提示:
Permission denied (publickey)
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
解决方法:
ssh-keygen -t rsa -C "你的Git对应邮箱地址"
三个回车,无需修改
... Your public key has been saved in /c/Users/你的系统用户名/.ssh/id_rsa.pub
打开这个C盘的文件,复制所有内容
登陆你的GitHub或者BitBucket账号,添加上述内容为新的SSH密钥,保存即可。
添加SSH密钥的方法(@Bitbucket):
生成密钥:
关联内容:
windows 10, Git, Git bash, Bitbucket, Github, publickey, Rsa, id_rsa, id_rsa.pub, known_hosts, bitbucket
Git diff, Git status, Git pull
问题描述:
Windows下启用Git bash,进行Git pull覆盖,提示:
Permission denied (publickey)
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
解决方法:
ssh-keygen -t rsa -C "你的Git对应邮箱地址"
三个回车,无需修改
... Your public key has been saved in /c/Users/你的系统用户名/.ssh/id_rsa.pub
打开这个C盘的文件,复制所有内容
登陆你的GitHub或者BitBucket账号,添加上述内容为新的SSH密钥,保存即可。
添加SSH密钥的方法(@Bitbucket):
生成密钥:
关联内容:
windows 10, Git, Git bash, Bitbucket, Github, publickey, Rsa, id_rsa, id_rsa.pub, known_hosts, bitbucket
Git diff, Git status, Git pull
本文标签: 权限错误publickeydeniedPermission
版权声明:本文标题:Permission denied (publickey). -- Windows下使用Git Bash显示权限错误 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/jiaocheng/1741229338a1852167.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论