fix ssh keys and disallow root login
This commit is contained in:
parent
907d8bc9d2
commit
afc7385c95
2 changed files with 6 additions and 7 deletions
|
|
@ -18,7 +18,10 @@
|
|||
enable = true;
|
||||
extraUpFlags = [ "--operator=user" ];
|
||||
};
|
||||
openssh.enable = true;
|
||||
openssh = {
|
||||
enable = true;
|
||||
settings.PermitRootLogin = "no";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue