1、安装SSH-server 终端下输入命令: sudo apt-get install openssh-server 2、启动SSH-server sudo /etc/init.d/ssh start