Merge pull request 'users: disable password login for users in @wheel' (!62) from fix-deploy into main

Reviewed-on: #62
Reviewed-by: Oystein Kristoffer Tveit <oysteikt@pvv.ntnu.no>
This commit is contained in:
Peder Bergebakken Sundt 2024-08-14 17:31:08 +02:00
commit 0f5c48902b
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";
}; };