当前位置: 首页 > 工具软件 > portkey > 使用案例 >

Git提示: Unable to negotiate with xxx.xxx.xxx.xxx port XX: no matching host key type found.

黎征
2023-12-01

解决:

前提: 在排除没有配置公钥的情况下。

在Git的安装目录下 Git > etc > ssh 文件夹下找到 ssh_config 文件,在文件末尾添加一下代码

Host *
    HostkeyAlgorithms +ssh-rsa
    PubkeyAcceptedAlgorithms +ssh-rsa
 类似资料: