1.创建新用户并修改密码;
useradd leipasswd lei2.修改ssh配置文件;vim /etc/ssh/sshd_configPort 10260AllowUsers leiPermitRootLogin yes
3.重启ssh。service sshd restart/etc/init.d/sshd restart
systemctl restart sshd