modified: README.md
modified: modules/server/README.md new file: modules/server/lxc-ssh.nix modified: profiles/lxc.nix
This commit is contained in:
@@ -1,14 +1,7 @@
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
../modules/core
|
||||
../modules/server
|
||||
../modules/server/lxc-ssh.nix
|
||||
];
|
||||
|
||||
# LXC 容器需要密码登录(s0.sermc.net,无 SSH key 注入)
|
||||
services.openssh.settings = {
|
||||
PermitRootLogin = "prohibit-password";
|
||||
PasswordAuthentication = true;
|
||||
KbdInteractiveAuthentication = true;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user