2024-08-31 22:23:09 +02:00
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
2024-09-01 03:21:13 +02:00
|
|
|
startWhenNeeded = true;
|
2024-08-31 22:23:09 +02:00
|
|
|
extraConfig = ''
|
|
|
|
PubkeyAcceptedAlgorithms=+ssh-rsa
|
|
|
|
Match Group wheel
|
|
|
|
PasswordAuthentication no
|
|
|
|
Match All
|
|
|
|
'';
|
|
|
|
settings.PermitRootLogin = "yes";
|
|
|
|
};
|
|
|
|
}
|