打开root远程登录

apt-get install openssh-server #openssh-client #ssh
vi /etc/ssh/sshd_config 
PermitRootLogin yes

systemctl restart sshd
service ssh status

修改改22端口

vi /etc/ssh/sshd_config 
Port 922

systemctl restart sshd