如果确定公钥已经在服务器上正确配置,还是在repo init的时候报如下错误
Downloading Repo source from https://gerrit.googlesource.com/git-repo
manifests:
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
manifests: sleeping 4.0 seconds before retrying
manifests:
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
解决方法:
~/.ssh/config
Host xxx.storm
HostName xxx.storm
User xiaxinkai
IdentityFile ~/.ssh/id_rsa
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)