原文:用git报错,解决Unable to negotiate with **** port 22: no matching host key type found. Their offer: ssh-rsa

windows电脑重装系统,去官网下载了最新的git安装,一路next下来,打开bash按老路子设置,生成公钥 git config global user.name yourname git config global user.email your email.com ssh keygen t rsa C your email.com 把公钥添加到阿里云,clone代码时拉不下来,报错。 Un ...

2022-03-17 19:20 0 1162 推荐指数:

查看详情

Visual Studio 2022 git error Unable to negotiate with xx.xxx.xxxx port 22: no matching host key type found. Their offer: ssh-rsa

前言   前两天因为升级了Git导致git提交拉取的时候都提示下面这个异常,然后经过一番折腾以后终于把这个问题解决了。但是今天我升级了下Visual Studio 2022将其升级到了17.1.3版本然后又出现了这个问题,奇怪的是我使用VS 2019没有问题(VS2019没有升级),然后使用 ...

Tue Apr 05 21:18:00 CST 2022 3 688
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM