Renamed openssh settings

This commit is contained in:
TEC 2023-06-24 12:52:29 +08:00
parent 710e894c4c
commit b9e55c05e2
Signed by: tec
SSH Key Fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A
1 changed files with 4 additions and 2 deletions

View File

@ -5,8 +5,10 @@
services.openssh = {
enable = true;
# require public key authentication for better security
passwordAuthentication = false;
kbdInteractiveAuthentication = false;
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
services.journald.extraConfig = ''
SystemMaxUse=1G