【发布时间】:2017-04-24 22:02:06
【问题描述】:
我更改了我的sshd_config 文件以将strictmodes 设置为no,然后重新启动sshd 服务。
但是,我得到两个不同的输出,如下所示。
root@localhost httpd]# service sshd stop
Stopping sshd: [ OK ]
[root@localhost httpd]# service sshd start
Starting sshd: [ OK ]
[root@localhost httpd]# sudo cat /etc/ssh/sshd_config | grep StrictModes
#StrictModes no
[root@localhost httpd]# sshd -T | grep strictmodes
strictmodes yes
【问题讨论】: