Enable rsa-ssh and root login over ssh for backup

This commit is contained in:
Felix Albrigtsen 2022-12-07 10:07:32 +01:00 committed by System administrator
parent e6878aa716
commit f418516013
1 changed files with 8 additions and 2 deletions

View File

@ -35,7 +35,13 @@
users.groups."drift".name = "drift";
services.openssh.enable = true;
services.openssh.permitRootLogin = "yes";
services.openssh = {
enable = true;
permitRootLogin = "yes";
extraConfig = ''
PubkeyAcceptedAlgorithms=+ssh-rsa
'';
};
}