1安装yum -y install openssh openssh-clients openssh-server openssh-askpass2修改 vim /etc/ssh/sshd_config
PermitRootLogin yes StrictModes yes UsePAM yes
3重启sshsystemctl restart sshd