1
0
Fork 0

users: disable password login for users in @wheel

This commit is contained in:
Peder Bergebakken Sundt 2024-08-11 03:31:04 +02:00
parent 2f3bcaf124
commit 36a8868f94
1 changed files with 3 additions and 0 deletions

View File

@ -80,6 +80,9 @@
enable = true; enable = true;
extraConfig = '' extraConfig = ''
PubkeyAcceptedAlgorithms=+ssh-rsa PubkeyAcceptedAlgorithms=+ssh-rsa
Match Group wheel
PasswordAuthentication no
Match All
''; '';
settings.PermitRootLogin = "yes"; settings.PermitRootLogin = "yes";
}; };