{ # LXC 容器需要密码登录 services.openssh.settings = { PermitRootLogin = "prohibit-password"; PasswordAuthentication = true; KbdInteractiveAuthentication = true; }; }