From b36e5224ecbeb6325cb53dfc59ee7728d28b33d8 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 3 Jul 2015 20:02:43 +0200 Subject: Authorized keys for root@vali --- users/gkleen.nix | 2 +- users/keys/gkleen-skadhi.pub | 1 + users/keys/skadhi.pub | 1 - vali.nix | 3 +++ 4 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 users/keys/gkleen-skadhi.pub delete mode 100644 users/keys/skadhi.pub diff --git a/users/gkleen.nix b/users/gkleen.nix index fb505426..1e8b62c9 100644 --- a/users/gkleen.nix +++ b/users/gkleen.nix @@ -10,7 +10,7 @@ shell = "/run/current-system/sw/bin/zsh"; isNormalUser = true; openssh.authorizedKeys.keyFiles = [ - keys/skadhi.pub + keys/gkleen-skadhi.pub ]; hashedPassword = "$6$fJbC4zdY$fOdHMAfIZldfE1oYcLN0WflJpD1J4tXjCP21QfjP6R4nVcbYI.bb1AjZftcJtpHvBA/tC5pJXYoaxTRFvwxvA/"; }; diff --git a/users/keys/gkleen-skadhi.pub b/users/keys/gkleen-skadhi.pub new file mode 100644 index 00000000..29dfee9e --- /dev/null +++ b/users/keys/gkleen-skadhi.pub @@ -0,0 +1 @@ +ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBABVMu+0txXdxdTSY8POAYVXbuOEDW6VxJzaYwQljc9kzM63VUZuE606R0g2ZGr9A+Gk6qO6fpCiq4SM+1Yygz5yHgGlbO750TOGaTe6KSGw+u3miaeDviejmxTqetGmiJe7BTLRAbYHjRgD5SkK/Ovos0cDSyOfZ5aha/ehox+proQKGA== gkleen@cathy diff --git a/users/keys/skadhi.pub b/users/keys/skadhi.pub deleted file mode 100644 index 29dfee9e..00000000 --- a/users/keys/skadhi.pub +++ /dev/null @@ -1 +0,0 @@ -ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBABVMu+0txXdxdTSY8POAYVXbuOEDW6VxJzaYwQljc9kzM63VUZuE606R0g2ZGr9A+Gk6qO6fpCiq4SM+1Yygz5yHgGlbO750TOGaTe6KSGw+u3miaeDviejmxTqetGmiJe7BTLRAbYHjRgD5SkK/Ovos0cDSyOfZ5aha/ehox+proQKGA== gkleen@cathy diff --git a/vali.nix b/vali.nix index 9478e4cf..d0d1d751 100644 --- a/vali.nix +++ b/vali.nix @@ -60,4 +60,7 @@ # services.xserver.displayManager.kdm.enable = true; # services.xserver.desktopManager.kde4.enable = true; + users.extraUsers.root.openssh.authorizedKeys.keyFiles = [ + users/keys/gkleen-skadhi.pub + ]; } -- cgit v1.2.3