切到root下面安装sudo -i #切换到root下sudo apt updatesudo apt install openssh-serversudo service ssh start检查是否启动成功: ps -aux | grep ssh