1.ssh -p 10022 root@xxx.xxx.xxx.xxx
2.cd etc/ssh/
3.vim sshd_config
4.打开 PermitRootLogin yes 新增 PasswordAuthentication yes
5. service ssh restart
1.ssh -p 10022 root@xxx.xxx.xxx.xxx
2.cd etc/ssh/
3.vim sshd_config
4.打开 PermitRootLogin yes 新增 PasswordAuthentication yes
5. service ssh restart