sudo apt-get install openssh-server -y
sudo passwd root
UsePAM no PasswordAuthentication yesPermitRootLogin yes
su root vim /etc/ssh/sshd_config
/etc/init.d/ssh restart
ssh简单配置
原文:https://www.cnblogs.com/idontknowthisperson/p/11189677.html