PVE下lxc开启SSH远程链接

8次阅读
没有评论

PVE 下 lxc 开启 SSH 远程链接

点开需要开启 SSH 远程链接的 LXC 里的  >_控制台,

# 允许远程登录

sed -i '/PermitRootLogin/ a PermitRootLogin yes' /etc/ssh/sshd_config

# 重启 ssh 服务

systemctl restart sshd

正文完
 0
评论(没有评论)