ubuntu20.0.4安装初始化后进行内核适配
1.安装Ubuntu类型的虚机后,默认是不开启ssh服务,也不是默认root ssh 连接sudo apt updatesudo apt install openssh-serversudo systemctl status sshsudo ufw allow ssh 在UFW防火墙打开ssh端口2.若要禁用ssh服务sudo systemctl disable --now sshsudo systemctl enable --now ssh(上一条命令结束后稍等片刻)3.让ssh服