From d5f82fd794082d1790bf4b8fb6c099cbec13218b Mon Sep 17 00:00:00 2001 From: clerie Date: Mon, 17 Apr 2023 06:33:45 +0200 Subject: [PATCH] hosts/hydra-1: allow root login --- hosts/hydra-1/configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/hydra-1/configuration.nix b/hosts/hydra-1/configuration.nix index 568a400..d95e570 100644 --- a/hosts/hydra-1/configuration.nix +++ b/hosts/hydra-1/configuration.nix @@ -61,6 +61,8 @@ programs.ssh.knownHosts."hydra-1.net.clerie.de".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE2xQBCsFBCwL9n4OP/bPngtNO1fy9kPw13Z/NDoba16 root@hydra-1"; programs.ssh.knownHosts."hydra-2.net.clerie.de".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDZED9QM+qe7sB6R6atvP6WNaI2sC2nh7TTsD6kgRpnr root@hydra-2"; + services.openssh.permitRootLogin = "yes"; + users.extraUsers.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMv8Lbca/CR4das3HJ2F/sQ9dA7kdGS1hSVTt5lX4diP root@hydra-1" ];