ubuntu17.10安装ssh服务
1、查看22端口是否开启
systemctl status sshd.service
或 netstat -anpt
2、查看系统是否启动ssh
ps -e |grep ssh3、安装ssh
sudo apt-get install openssh-server
4、启动ssh
sudo /etc/init.d/ssh start
或者 systemctl start sshd.service
systemctl status sshd.service
或 netstat -anpt
sudo apt-get install openssh-server
sudo /etc/init.d/ssh start
或者 systemctl start sshd.service