无法与192.168.16.140端口7999进行协商:找不到匹配的主机密钥类型。他们的报价:Visual Studio升级后的SSH-RSA
我会收到以下错误,试图将 /拉到我们本地的Git Serrver / Bitbucket安装后,将VS升级到2022 17.2.4
无法与192.168.16.140端口7999进行协商:找不到匹配的主机键类型。他们的报价:ssh-rsa
我遵循下面的帖子中的说明,但仍然没有快乐,我在这里做
!
什么 HOSTKEYALGORITHM +SSH-RSA PubKeyAcceptedalgorithms +SSH-RSA
主机192.168.16.140:7999 HOSTKEYALGORITHM +SSH-RSA PubKeyAcceppedalgorithms +SSH-RSA
Visual Studio 2022 GIT错误无法与{0}端口{1}进行协商:找不到匹配的主机键类型。他们的报价:SSH-RSA
I get the following error trying to push / pull to our local Git Serrver / BitBucket installation after upgrading VS to 2022 17.2.4
Unable to negotiate with 192.168.16.140 port 7999: no matching host key type found. Their offer: ssh-rsa
I followed the instructions in the post below but still no joy, what am I doing worng here!...
Have tried adding this to the ssh_config file
Host git@devtools:7999
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
Host 192.168.16.140:7999
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
OpenSSL的BREW更新带来了最新版本,该版本已弃用了
ssh-rsa
算法。 注意将OpenSL降级到上一个版本。
SSH配置文件将为
〜/.ssh/config
或/etc/sssh/ssh/ssh_config
。Brew update of openssl brings in the latest version which has deprecated the
ssh-rsa
algorithm. NoteAdd this to your ssh config to re-enable
ssh-rsa
OR downgrade openssl to the previous version.ssh config file will be
~/.ssh/config
or/etc/ssh/ssh_config
.