1、切换root用户权限 sudo -s 2、更新系统 sudo apt update sudo apt upgrade 3、安装openssh-server apt-get install openssh-server 4、查看ssh开启状态 systemctl status ssh