Files
nixos/modules/server/lxc-ssh.nix
luochen570 575529f159 modified: README.md
modified:   modules/server/README.md
	new file:   modules/server/lxc-ssh.nix
	modified:   profiles/lxc.nix
2026-05-27 07:02:37 +08:00

9 lines
193 B
Nix

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