From ea3c67fa02861e39e09c94cf8cfd31f3c2e8ea69 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Fri, 15 Sep 2023 21:31:07 +0200 Subject: [PATCH] ssh port config --- assets/ssh/known_hosts | 7 ++++--- hosts/yodaYoga/configuration.nix | 4 ++-- modules/ssh.nix | 8 ++++---- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/assets/ssh/known_hosts b/assets/ssh/known_hosts index ba61155..95017e6 100644 --- a/assets/ssh/known_hosts +++ b/assets/ssh/known_hosts @@ -8,10 +8,11 @@ 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 +[192.168.178.99]:2224 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsiBDYIJOPZkOA4a2wNyFGyLgKy5ihAVLH63f/+4dZJ +[p1st.de]:2224 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsiBDYIJOPZkOA4a2wNyFGyLgKy5ihAVLH63f/+4dZJ # 2023-09 yodaYoga NixOS early SSH FDE unlock -192.168.178.99 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOH1sjHMLjGbxnDNke4xbY1IkSez/n0bJj3+80b4JTh+ +[192.168.178.99]:2225 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOH1sjHMLjGbxnDNke4xbY1IkSez/n0bJj3+80b4JTh+ +[p1st.de]:2225 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOH1sjHMLjGbxnDNke4xbY1IkSez/n0bJj3+80b4JTh+ # 2019-03 ejNas with Arch Linux cloud.ej-altdorf.de ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN4sPst5MT46Umwnz9bQCeT6M/gTM8urKqYHMY9lWBux diff --git a/hosts/yodaYoga/configuration.nix b/hosts/yodaYoga/configuration.nix index 8d0d744..7b0f497 100644 --- a/hosts/yodaYoga/configuration.nix +++ b/hosts/yodaYoga/configuration.nix @@ -50,6 +50,6 @@ in ]; networking.hostName = "yodaYoga"; - services.openssh.ports = [ 2223 ]; - boot.initrd.network.ssh.port = 2223; + services.openssh.ports = [ 2224 ]; + boot.initrd.network.ssh.port = 2225; } diff --git a/modules/ssh.nix b/modules/ssh.nix index 66d022e..d122e04 100644 --- a/modules/ssh.nix +++ b/modules/ssh.nix @@ -29,15 +29,15 @@ hostname = "p1st.de"; #hostname = "192.168.178.99"; user = "yoda"; - port = 2223; - compression = false; + port = 2224; + compression = true; }; "unlockYodaYoga" = { hostname = "p1st.de"; #hostname = "192.168.178.99"; user = "root"; - port = 2223; - compression = false; + port = 2225; + compression = true; }; "pi3bplus" = { hostname = "fckjpbxxim36c1gb.myfritz.net";