From 0f02314519f6fe5cedfcdaf63622741fdd659f25 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Fri, 15 Sep 2023 21:20:47 +0200 Subject: [PATCH] ssh port config --- assets/ssh/known_hosts | 4 ++++ modules/ssh.nix | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/assets/ssh/known_hosts b/assets/ssh/known_hosts index f69b8a3..ba61155 100644 --- a/assets/ssh/known_hosts +++ b/assets/ssh/known_hosts @@ -1,11 +1,15 @@ # 2022-12 yodaNas with Arch Linux [p1st.de]:2222 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIASF7AJeGIkQG0erOJym8bHLBjRClkdPPCDNZAKOZ6S+ + # 2023-09 yodaTux NixOS early SSH FDE unlock [yodaTux.localhost]:22 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII1QKkJg9ekAAxTADCXIvHylrYOc6EdEyKUmKaQhaW3e + # 2023-03 pi3bplus with Arch Linux fckjpbxxim36c1gb.myfritz.net ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIhyhbuidl8RIV6pvzXJVJLP2GRK9aCAk/aMSuNts0Bv + # 2023-09 yodaYoga with NixOS 192.168.178.99 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsiBDYIJOPZkOA4a2wNyFGyLgKy5ihAVLH63f/+4dZJ +[p1st.de]:2223 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsiBDYIJOPZkOA4a2wNyFGyLgKy5ihAVLH63f/+4dZJ # 2023-09 yodaYoga NixOS early SSH FDE unlock 192.168.178.99 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOH1sjHMLjGbxnDNke4xbY1IkSez/n0bJj3+80b4JTh+ diff --git a/modules/ssh.nix b/modules/ssh.nix index d630883..66d022e 100644 --- a/modules/ssh.nix +++ b/modules/ssh.nix @@ -26,13 +26,15 @@ userKnownHostsFile = "~/.ssh/known_hosts ${../assets/ssh/known_hosts}"; matchBlocks = { "yodaYoga" = { - hostname = "192.168.178.99"; + hostname = "p1st.de"; + #hostname = "192.168.178.99"; user = "yoda"; port = 2223; compression = false; }; "unlockYodaYoga" = { - hostname = "192.168.178.99"; + hostname = "p1st.de"; + #hostname = "192.168.178.99"; user = "root"; port = 2223; compression = false;