mac系统出了新版本 13.0.1 后,androidstudio push, pull 代码一直报错:

如下:

Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

经过几翻操作,重新生成id_rsa.pub 也是不行,

最后发现是rsa加密方式的问题,苹果mac升级系统后,默认不支持rsa方式加密git通讯,

所以如果要继续使用这个pub文件加密的方式,则要手动添加cofig配置文件来支持:

如下在 ~/.ssh/ 目录下新增config文件,

然后在 ~/.ssh/config 中新增:

Host *
    PubkeyAcceptedKeyTypes +ssh-rsa
    HostKeyAlgorithms +ssh-rsa

Mac电脑升级13系统后,git clone 代码报错,mac升级后git ssh用不了相关推荐

  1. Git clone项目报错-errno 10054

    Git clone项目报错:Error:R P C failed;curl 56 Open SS L SS L_read:Connection was Reset, err no 10054 在网上找 ...

  2. git pull代码报错 key_exchange_identification

    git pull代码报错 key_exchange_identification 准备拉代码的时候发现,报这个错. 查了下网上,说是不是用了vpn啥的. 但我这个主机压根没用vpn. 贴几个网上的解决 ...

  3. git clone 项目报错

    错误: fatal: UriFormatException encountered. queryUrl \"D:/GitExtensions/GitCredentialWinStore/gi ...

  4. git push 代码报错 Pushing to Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

    背景:从openshift上clone代码到本地,修改代码push报错 Pushing to Permission denied (publickey,gssapi-keyex,gssapi-with ...

  5. 关于git提交代码报错:Push to origin/master was rejected

    经过一段惊心动魄的战斗之后,终于将代码改成了自己想要的样子了,此时,万事俱备只欠东风.只需要将代码git push提交一下,就能下班了,约妹子吃饭,逛街啦,美滋滋.想想还有点小激动呢. 然而,现实总是 ...

  6. git 提交代码报错vue-cli-service lint found some errors.

    ✖ vue-cli-service lint found some errors. Please fix them and try committing again. error: 'module' ...

  7. git提交代码报错解决方法 Git-remote Incorrect username or password ( access token )

    git提交代码的时候报错 $ git push origin ionic-001 remote: Incorrect username or password ( access token ) fat ...

  8. git克隆代码报错fatal: unable to access...

    从gitlab拉代码的时候,出现报错 fatal: unable to access 'https://172.24.100.214/intelligent-monitoring-group/ai-o ...

  9. git克隆代码报错remote: HTTP Basic: Access denied fatal: Authentication failed for的解决方案之一

    remote: HTTP Basic: Access denied fatal: Authentication failed for 'http://xxx.git/' 在克隆代码时输入一次错误的用户 ...

最新文章

  1. 专访王田苗:机器人是“刚需”,市场正处于逆周期增长
  2. Android --- Retrofit 之 Okhttp3 网络请求总是调用 onFailure 方法,而不调用 onResponse,报错 timeout。
  3. C语言易错题集 第四部
  4. linux gcc中sin30度,学习gcc.pdf
  5. JAVA基础——时间Date类型转换
  6. python3.8爬虫_python爬虫系列(3.8-正则的使用)
  7. MongoDB的查询语法和SQL的SELECT语法做对比
  8. CSS 元素的定位之相对定位 position: relative
  9. 完整的Socket代码
  10. js 调用微信浏览器内置方法,启动支付
  11. html文本框部分字体变颜色,实现文本框内,部分字体颜色、字号等自定义
  12. 无约而来WIN8 PRO WMC X64 201306
  13. android框架揭秘之android中c++写的服务笔记
  14. tomcat日志中文乱码问题
  15. maven本地仓库中已有jar包,项目却读取不了
  16. 解决·web项目在浏览器页面上乱码
  17. Windows 下安装 Xdebug 受难记之(1)
  18. office2007版本信息
  19. java list namevaluepair_HashMap String,String和List NameValuePair之间的区别
  20. 小白知识之:画图软件中文字横横竖竖的奥秘

热门文章

  1. dell服务器T420装系统,ThinkPad T420笔记本一键u盘装系统win7教程
  2. 反击!紫光集团怒斥赵伟国
  3. Python画好看的星空图
  4. 手机中的传感器之光线传感器(Android实现)
  5. android 生成bks_Android 生成bks证书
  6. ps怎么加底部阴影_PS三分钟之如何在PS中给物体添加阴影
  7. IDEA 设置终端管理员权限
  8. Android--Recovery模块之恢复出厂设置
  9. 真的!这么写参数校验 (Validator) 就不会被劝退了。。。
  10. 烤仔TVの尚书房 | “鸽王”还是“割王”?