forked from Drift/pvv-nixos-config
Enable rsa-ssh and root login over ssh for backup
This commit is contained in:
parent
e6878aa716
commit
f418516013
10
base.nix
10
base.nix
|
@ -35,7 +35,13 @@
|
||||||
|
|
||||||
users.groups."drift".name = "drift";
|
users.groups."drift".name = "drift";
|
||||||
|
|
||||||
services.openssh.enable = true;
|
services.openssh = {
|
||||||
services.openssh.permitRootLogin = "yes";
|
enable = true;
|
||||||
|
permitRootLogin = "yes";
|
||||||
|
extraConfig = ''
|
||||||
|
PubkeyAcceptedAlgorithms=+ssh-rsa
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue