From 1fbe23981415969722f510cc746c90bb4c96bfcc Mon Sep 17 00:00:00 2001 From: iFargle Date: Sun, 26 Nov 2023 15:35:33 +0900 Subject: [PATCH] test --- nixos/hosts/framework-server/ssh-luks.nix | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/nixos/hosts/framework-server/ssh-luks.nix b/nixos/hosts/framework-server/ssh-luks.nix index 0f6394c8..dd7b16f4 100644 --- a/nixos/hosts/framework-server/ssh-luks.nix +++ b/nixos/hosts/framework-server/ssh-luks.nix @@ -13,12 +13,6 @@ enable = true; port = 22; authorizedKeys = [ - # Work Laptop - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDcSRL0kCzlzIUfkXHc29rievK41vwIGzZJ9UxDZ+zyLqqi4Xe+yHOT6XZFiFrKb9anNbPgBNKTZWNv8A22GXg1+zpYxKGm5YwmDA1oP7IkhoXjX8zWrydbE1pK+pqHQVBxrf8zlXFg0BcdDb9yYR6dBCPQ4AYvotwHYfZnR0xJf/5esxftKY+mCa81EkkYuUQfg6oHVrAhA6Jhk3zM4C1rp+8XA9BNCrhmSrK6ct7Z2heS8we5xSUHHIdcpqK5yKsw4ncA526bPknz7/CHNLUAzwPpAYUeiwMm/axBkP0GlEoVx3FapVlM9jBApAXEDNrPEZUKkYPwURfw/JsxodOd us\1137815@AJ095738" - # root@sysctl.io - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDJhQbaq5ktgGQPb/4dfne2b5ta9bi4Tbl0EHP9bAaFnl0O9TNEuWCl7U/T8sJh9vKZb28zbgC4nA7UQUMQp7tHTy2DFNP37WWM0u+BPEKSvjMeUhFqya1YGWN5HW6uCMs6FRRz1io/xn+jVi34LoiOXKQ94hWWusKWXDQzrTeF1ho9e0Xd1LzAQ2lDJRxaEaEkm9NgzgO0j5OECaiSEplUruZqvF44gNo4P+9avOqV/hW2QqtpjysBgVq9EtVS1LHJgcOfPyp4zdzNJSEbelBa2foEqQC8oRu1o4paVxC0gk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+ # ssh-keygen -t rsa -N "" -f /etc/secrets/initrd/ssh_host_rsa_key + "/etc/secrets/initrd/ssh_host_rsa_key" ]; }; };