1.禁止root远程登录
vim /etc/ssh/sshd_config
PermitRootLogin no
2.禁ping
vim /etc/sysctl.conf
net.ipv4.icmp_echo_ignore_all = 1
1.禁止root远程登录
vim /etc/ssh/sshd_config
PermitRootLogin no
2.禁ping
vim /etc/sysctl.conf
net.ipv4.icmp_echo_ignore_all = 1
本文标题:linux 安全配置(待更新)
本文链接:https://www.haomeiwen.com/subject/mspwqftx.html
网友评论