数字世界的探索者
1、禁止root ssh登录
vim /etc/ssh/sshd_config
把PermitRootLogin yes
改为
PermitRootLogin no
2、修改ssh端口
把注释掉的Port 22前的注释符号去掉,并将22改为如上的需要的端口