1.1终端输入sudo apt install openssh-server 1.2重启服务sudo service ssh restart 1.3如出错,尝试更新apt:sudo apt update