1
Fork 0

Disable password authentication and root login.

This commit is contained in:
Bauke 2023-10-17 14:42:05 +02:00
parent cb4ee59b76
commit 0dff532d28
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 7 additions and 1 deletions

View File

@ -18,6 +18,12 @@
};
};
openssh.enable = true;
openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};
};
}