问题
ssh forlinx@192.168.11.68Unable to negotiate with 192.168.11.68 port 22: no matching host key type found. Their offer: ssh-rsa解决方法: 方法1:
ssh -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa forlinx@192.168.11.68方法2:创建 SSH 配置文件(永久解决) 在 Windows 上创建或编辑 SSH 配置文件:
-
打开文件:
C:\Users\28581\.ssh\config(如果不存在就创建) -
添加以下内容:
Host 192.168.11.68 HostKeyAlgorithms +ssh-rsa PubkeyAcceptedKeyTypes +ssh-rsa来源:CSDN 原文,首次发布于 2026-01-29。