disable root access over ssh

This commit is contained in:
Andreas Zweili 2022-01-16 17:53:50 +01:00
parent c077158d9e
commit 49bef36915
1 changed files with 4 additions and 1 deletions

View File

@ -35,7 +35,10 @@ in
programs.mosh.enable = true;
services = {
openssh.enable = true;
openssh = {
enable = true;
permitRootLogin = "no";
};
};
# Select internationalisation properties.