sudo apt-get install openssh-server
#sudo passwd root
sudo vi /etc/ssh/sshd_config
找到:PermitRootLogin prohibit-password禁用
添加:PermitRootLogin yes
sudo service ssh restart
OK,正常登录!!!
如果遇到lock被锁问题,解决办法:
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock