1.安装openssh-serversudo apt-get install openssh-server2.启动ssh服务sudo service ssh start3.检测是否启动了ssh服务ps aux|grep sshd