一.修改ssh默认端口,防止暴力破解,让系统安全多一点点: i. 在配置文件/etc/ssh/sshd_config文件中修改 Port #AddressFamily any #ListenAddress 0.0.0.0 #ListenAddress :: ii. 然后重启sshd [root@localhost ~]# systemctl restart sshd iii. 如果自定义端口,重启sshd出现如下报错: [root@localhost ~]# systemctl restart…