PVE创建CT,Ubuntu20.04的LXC容器,无法SSH问题

无法SSH的问题是Ubuntu的安全选项问题,只需要修改ssh配置文件即可

直接在PVE的控制台中编辑

nano /etc/ssh/sshd_config

修改
PermitRootLogin without-password

PermitRootLogin yes
然后重启sshd
systemctl restart sshd

发表回复

登录... 后才能评论