0条评论
还没有人评论过~
将 gitlab 迁移到另外一台服务器后,git pull 时出现下面的错误提示:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
请问如何解决?
是 /var/opt/gitlab/.ssh/ 中的 authorized_keys
没有迁移过来, scp 过来之后问题解决
试试用账户密码拉取呢。看起来是ssh key相关的问题。
搜索到一篇文章,也许有用:https://www.cnblogs.com/xubing-613/p/6844564.html