1、安装ssh服务 sudo apt-get install openssh-server 2、检查服务是否已开启,没开启的话开启下 sudo ps -e |grep ssh sudo service ssh start