modified: README.md

modified:   modules/server/README.md
	new file:   modules/server/lxc-ssh.nix
	modified:   profiles/lxc.nix
This commit is contained in:
luochen570
2026-05-27 07:02:37 +08:00
parent a2bd672cf7
commit 575529f159
4 changed files with 12 additions and 10 deletions

View File

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