【问题描述】
执行 /usr/sbin/sshd -t 会报如下错误:
/etc/ssh/sshd_config line 147: Deprecated option RSAAuthentication
/etc/ssh/sshd_config line 149: Deprecated option RhostsRSAAuthentication
【问题分析过程】
sshd 配置文件 /etc/ssh/sshd_config 中 RSAAuthentication、RhostsRSAAuthentication 参数只适用于 Protocol 1,而当前 sshd 默认用的是 Protocol 2,注释掉该参数即可。
【问题解决办法】
1、修改 sshd 配置文件 /etc/ssh/sshd_config,在对应行行首添加 # 注释符号来注释该文件内 RSAAuthentication、RhostsRSAAuthentication 两个配置参数。
2、再次执行 /usr/sbin/sshd -t 命令,不会出现此报错。
麒麟 V10SP3 系统执行执行/usr/sbin/sshd -t 命令出现报错
最新推荐文章于 2025-12-01 15:01:35 发布
2845

被折叠的 条评论
为什么被折叠?



