1.更新
sudo apt-get update
2.安装ssh
sudo apt-get install openssh-server
3.启动
sudo service ssh start
4.查看是否启动
sudo ps -e | grep ssh
5.配置root登录
sudo vim /etc/ssh/sshd_config
PermitRootLogin=yes
sudo apt-get update
sudo apt-get install openssh-server
sudo service ssh start
sudo ps -e | grep ssh
sudo vim /etc/ssh/sshd_config
PermitRootLogin=yes