MyBBS
ubuntu22.04 ssh增加RSA支持 - Printable Version

+- MyBBS (https://bbs.mjjjd.eu.org)
+-- Forum: My Category (https://bbs.mjjjd.eu.org/forumdisplay.php?fid=1)
+--- Forum: VPS (https://bbs.mjjjd.eu.org/forumdisplay.php?fid=2)
+--- Thread: ubuntu22.04 ssh增加RSA支持 (/showthread.php?tid=25)



ubuntu22.04 ssh增加RSA支持 - adahrzgj - 08-21-2022



添加下面配置到/etc/ssh/sshd_config中:
登录后复制
Include /etc/ssh/sshd_config.d/*.conf

HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa


解决默认SSH不支持RSA验证导致的问题