From c48a7e80c31f6fb35533456f30659ce3c122db0f Mon Sep 17 00:00:00 2001 From: mricher Date: Sun, 16 Oct 2022 14:34:39 +0200 Subject: Fix key --- cluster/prod/cluster.nix | 7 ++++--- cluster/prod/ssh_config | 12 ++++++++++++ deploy_nixos | 2 +- ssh_known_hosts | 1 + 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/cluster/prod/cluster.nix b/cluster/prod/cluster.nix index e948eb4..740fe5b 100644 --- a/cluster/prod/cluster.nix +++ b/cluster/prod/cluster.nix @@ -57,9 +57,9 @@ endpoint = "82.66.80.201:33733"; } { - hostname = "df-ylk"; + hostname = "df-ykl"; site_name = "bespin"; - publicKey = "bIjxey/VhBgVrLa0FxN/KISOt2XFmQeSh1MPivUq9gg"; + publicKey = "bIjxey/VhBgVrLa0FxN/KISOt2XFmQeSh1MPivUq9gg="; IP = "10.83.3.1"; lan_endpoint = "192.168.5.117:33799"; endpoint = "bespin.site.deuxfleurs.fr:33731"; @@ -104,7 +104,8 @@ "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDs9v4tU1F7rqEJFfLjGAOWeGPi3DMgDCtj0mNine/J4GKgDR0KrWIQgT4jE8VdMXRXpaiKZjOabIczvR7INCQryGwb24NzielB5m98dx+OVoWHoFCb3xFgGkk3TIsJp0+8RuGFTPFh5GA1uQB4aHZs6YP56Y/bkr8Ap6sbOfKgg4mfHuVuhME2pOFe4q0YxWFE6Lq/4ysC/87xwjAhQwRyC+vyDxDVUVPKRCRoPxLg0htV6eOY0fJB+9fKrhdeW+yOu4GlxoMxrZfUKjVeCEtbtgOXzNayVRWQNkCZsAgEBD5gmMfBG25vur60d9dCekVOVmaTc0F56DRjaGOOB0WFPZrf16TBs99XlMMbnkhf8z0IPn/L+Q/jJEL4QjhZZ2mrQhZsHVAOPEATKgaYMw2FRUrwyoUJfNIku0e8YmkJR5vEwHoG0o1A0PCACWCRQ1zcac9uYjMADoSsSMjrCQ8FVUT6enPe+g36MtWEaBxUpfqFx0xvw2bvbWFm5xk0uMM= adrien@pratchett" ]; maximilien = [ - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHMMR6zNzz8NQU80wFquhUCeiXJuGphjP+zNouKbn228GyESu8sfNBwnuZq86vblR11Lz8l2rtCM73GfAKg29qmUWUHRKWvRIYWv2vaUJcCdy0bAxIzcvCvjZX0SpnIKxe9y3Rp0LGO5WLYfw0ZFaavwFZP0Z8w1Kj9/zBmL2X2avbhkaYHi/C1yXhbvESYQysmqLa48EX/TS616MBrgR9zbI9AoTQ9NOHnR14Tve/AP/khcZoBJdm4hTttMbNkEc0wonzdylTDew263SPRs/uoqnQIpUtErdPHqU10Yup8HjXjEyFJsSwcZcM5sZOw5JKckKJwmcd0yjO/x/4/Mk5" + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHMMR6zNzz8NQU80wFquhUCeiXJuGphjP+zNouKbn228GyESu8sfNBwnuZq86vblR11Lz8l2rtCM73GfAKg29qmUWUHRKWvRIYWv2vaUJcCdy0bAxIzcvCvjZX0SpnIKxe9y3Rp0LGO5WLYfw0ZFaavwFZP0Z8w1Kj9/zBmL2X2avbhkaYHi/C1yXhbvESYQysmqLa48EX/TS616MBrgR9zbI9AoTQ9NOHnR14Tve/AP/khcZoBJdm4hTttMbNkEc0wonzdylTDew263SPRs/uoqnQIpUtErdPHqU10Yup8HjXjEyFJsSwcZcM5sZOw5JKckKJwmcd0yjO/x/4/Mk5 maximilien@icare" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGioTNbjGE3KblbqhnkEWUfGkYZ2p5UAVqPdQJaUBWoo maximilien@athena" ]; }; diff --git a/cluster/prod/ssh_config b/cluster/prod/ssh_config index 7512bda..1fa9019 100644 --- a/cluster/prod/ssh_config +++ b/cluster/prod/ssh_config @@ -21,3 +21,15 @@ Host diplotaxis Host doradille HostName doradille.machine.deuxfleurs.fr +Host df-ykl + HostName df-ykl.machine.deuxfleurs.fr + User root + +Host df-ymf + HostName df-ymf.machine.deuxfleurs.fr + User root + +Host df-ymk + HostName df-ymk.machine.deuxfleurs.fr + User root + diff --git a/deploy_nixos b/deploy_nixos index 2b55799..a716d6b 100755 --- a/deploy_nixos +++ b/deploy_nixos @@ -8,4 +8,4 @@ copy cluster/$CLUSTER/node/$NIXHOST.nix /etc/nixos/node.nix copy cluster/$CLUSTER/node/$NIXHOST.site.nix /etc/nixos/site.nix cmd "nix-channel --add https://nixos.org/channels/nixos-22.05 nixos" -cmd nixos-rebuild switch --show-trace +cmd nixos-rebuild switch --upgrade --show-trace diff --git a/ssh_known_hosts b/ssh_known_hosts index e6baaa5..ec11e2b 100644 --- a/ssh_known_hosts +++ b/ssh_known_hosts @@ -18,3 +18,4 @@ diplotaxis.machine.deuxfleurs.fr ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFcVtfOj0ti 2a06:a003:d019:1::33 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOuY1CvhxBP9BtKkTlmOUu6Hhy8OQTB3R8OCFXbHA/RA 2a06:a003:d019:1::31 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL3N0QOFNGkCpVLuOHFdpnBaxIFH925KpdIHV/3F9+BR 2a06:a003:d019:1::32 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPCXJeo6yeQeTN7D7OZwLd8zbyU1jWywlhQ29yyk7x+G +df-ykl.machine.deuxfleurs.fr ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEwsKl1Bv8HJa+rO2KymEDhKEcDY3s9CQmDQ8i/tHf4E -- cgit v1.2.3