简体   繁体   English

Git克隆权限被拒绝

[英]Git clone permission denied

Trying out the new cloud9ide and I managed to get RHC installed for openshift and went through the setup uploaded the ssh key. 试用新的cloud9ide,我设法为openshift安装了RHC,并通过设置上传了ssh密钥。 I'm now trying to git clone my project but I'm getting permission errors. 我现在正在尝试git clone我的项目,但出现权限错误。

Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
fatal: Could not read from remote repository

Any idea on how to resolve this? 关于如何解决这个问题的任何想法?

Most likely you need to turn on username/password authentication in git. 您最有可能需要在git中打开用户名/密码身份验证。 Edit your ~/.gitconfig (eg, with nano), and remove the line that says "askpass = /bin/echo". 编辑您的〜/ .gitconfig(例如,使用nano),并删除显示“ askpass = / bin / echo”的行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM