侧边栏壁纸
  • 累计撰写 99 篇文章
  • 累计创建 54 个标签
  • 累计收到 1 条评论

目 录CONTENT

文章目录

开启 PVE LXC debian ssh

FlyingEagle
2022-09-13 / 0 评论 / 0 点赞 / 67 阅读 / 152 字

方法1:在PVE主机console输入以下,进入容器ssh

lxc-attach --name 101 #101为容器号码

方法2:直接在容器的console输入

nano /etc/ssh/sshd_config

修改PermitRootLogin without-password 为 PermitRootLogin yes
image

0

评论区