Command Palette
Search for a command to run...
关闭 SELinux
今天在修改ssh端口时,发现竟然修改不了,修改后重启sshd就会报错,网上查了很久,最后发现是SELinux启用了造成的。所以要想修改ssh端口,就要先禁用SELinux。 使用下面的命令可以查看SELinux的状态: [root@localhost ] /usr/sbin/sestatus -v 或者: [root@localhost ] sestatus 如果返回有: SELinux stat...