狂人山庄 Madman Hills
  • Home
  • About Me
  • 『罩.片』
Sign in Subscribe

SSH

A collection of 1 post
网络

SSH远程服务器提示Their offer: ssh-rsa

macOS升级到Ventura后,远程连接服务器提示 Unable to negotiate with x.x.x.x port 1234: no matching host key type found. Their offer: ssh-rsa 这是因为新版本的openssh不支持RSA和DSA等老算法的协商了,所以需要在```.ssh/config```里面增加配置 Host * HostkeyAlgorithms +ssh-rsa PubkeyAcceptedKeyTypes +ssh-rsa 保存后重新连接就可以了
2022年11月18日
Page 1 of 1
狂人山庄 Madman Hills © 2025
Powered by Ghost