modified: modules/server/README.md new file: modules/server/lxc-ssh.nix modified: profiles/lxc.nix
9 lines
193 B
Nix
9 lines
193 B
Nix
{
|
|
# LXC 容器需要密码登录
|
|
services.openssh.settings = {
|
|
PermitRootLogin = "prohibit-password";
|
|
PasswordAuthentication = true;
|
|
KbdInteractiveAuthentication = true;
|
|
};
|
|
}
|