sshd: disable systemd integration
This commit is contained in:
@@ -25,6 +25,7 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings.PermitRootLogin = "no";
|
settings.PermitRootLogin = "no";
|
||||||
settings.PasswordAuthentication = false;
|
settings.PasswordAuthentication = false;
|
||||||
|
settings.UsePAM = false; #< notably, disables systemd session tracking; incidentally disables pam_mount, etc.
|
||||||
};
|
};
|
||||||
sane.ports.ports."22" = {
|
sane.ports.ports."22" = {
|
||||||
protocol = [ "tcp" ];
|
protocol = [ "tcp" ];
|
||||||
|
Reference in New Issue
Block a user