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

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

这两天电脑进水了,换了台笔记本电脑,配置好 git 的 ssh 之后,发现还是无法从远端仓库拉取代码,提示 Permission denied (publickey,gssapi-with-mic). fatal: Could not read from remote repository.后来发现有些 mac 系统不支持 rsa 算法,需要在 .ssh/config 增加一些配置才行

Permission denied (publickey,gssapi-with-mic).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

在 .ssh/config 中添加如下配置

Host *
    HostkeyAlgorithms +ssh-rsa
    PubkeyAcceptedAlgorithms +ssh-rsa


相关文章
|
网络安全
remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2
remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2
4163 0
|
分布式计算 Hadoop Linux
Centos7配置Hadoop出现Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)的解决
Centos7配置Hadoop出现Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)的解决
753 0
|
11月前
|
开发工具 git
解决Git push提交时Permission denied(publickey).Could not read from remote...的问题
解决Git push提交时Permission denied(publickey).Could not read from remote...的问题
172 0
|
5月前
|
网络安全 数据安全/隐私保护
解决git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Pleas
解决git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Pleas
388 0
|
5月前
【Error】fatal: unable to access ‘https://github.com/PanJiaChen/vue-element-admin/‘: OpenSSL SSL_read:
【Error】fatal: unable to access ‘https://github.com/PanJiaChen/vue-element-admin/‘: OpenSSL SSL_read:
|
存储 小程序 API
报错-小程序:errMsg: “getUserProfile:fail privacy permission is not authorized“
报错-小程序:errMsg: “getUserProfile:fail privacy permission is not authorized“
284 0
|
开发工具 数据安全/隐私保护 git
git 报错:Support for password authentication was removed. Please use a personal access token instead.
git 报错:Support for password authentication was removed. Please use a personal access token instead.
377 0
git 报错:Support for password authentication was removed. Please use a personal access token instead.
|
网络安全 数据安全/隐私保护
阿里云Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
阿里云Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
476 0
|
数据安全/隐私保护
Ansible报错:“msg“: “Invalid/incorrect password: Permission denied, please try again.“
Ansible报错:“msg“: “Invalid/incorrect password: Permission denied, please try again.“
1147 0
Ansible报错:“msg“: “Invalid/incorrect password: Permission denied, please try again.“
下一篇
无影云桌面