Restrict root login to key only
This commit is contained in:
parent
db350e2445
commit
2aa2a41617
1 changed files with 2 additions and 0 deletions
|
|
@ -12,6 +12,8 @@ in
|
|||
# Enable SSH
|
||||
services = {
|
||||
openssh.enable = true;
|
||||
# Disable password root access. Necessary for Colmena
|
||||
openssh.permitRootLogin = "prohibit-password";
|
||||
};
|
||||
|
||||
my.utils.serverNodeUsers.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue