-1
我更改了我的sshd_config
文件,將strictmodes設置爲no,然後重新啓動sshd
服務。 但是,我得到了兩個不同的輸出,如下所示。b/w sshd_config和sshd命令有什麼區別?
[email protected] httpd]# service sshd stop
Stopping sshd: [ OK ]
[[email protected] httpd]# service sshd start
Starting sshd: [ OK ]
[[email protected] httpd]# sudo cat /etc/ssh/sshd_config | grep StrictModes
#StrictModes no
[[email protected] httpd]# sshd -T | grep strictmodes
strictmodes yes