FIX : permitRootLogin : no

This commit is contained in:
Alexandre LUCAZEAU 2022-05-25 13:00:57 +00:00
parent 7d78e49841
commit ef3b32ea8d
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@
zramSwap.enable = false;
networking.hostName = "back";
services.openssh.enable = true;
services.openssh.permitRootLogin = "no";
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKUA1RW6JwZasspAp8qmFRFnlV5WXjhLfStAAkM+KYLv lucazeau.alexandre@gmail.com"
];