sudo apt-get install openssh-server //安装ssh服务shell
ps -ef | grep ssh //查看服务是否开启ubuntu
/etc/init.d/ssh start //开启ssh服务ssh