From 8671328595f8b0b47e5bb8fdaeef72f4ea303754 Mon Sep 17 00:00:00 2001 From: Trevor Vallender Date: Thu, 27 Jul 2023 18:47:27 +0100 Subject: [PATCH] Correct kernighan SSH port --- system/kernighan/kernighan.nix | 2 +- system/shared/shared-configuration.nix | 2 +- users/tsv/ssh/config | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/system/kernighan/kernighan.nix b/system/kernighan/kernighan.nix index 5e51f1c..e4e9d47 100644 --- a/system/kernighan/kernighan.nix +++ b/system/kernighan/kernighan.nix @@ -13,7 +13,7 @@ hostName = "kernighan"; firewall = { enable = true; - allowedTCPPorts = [ 2222 80 443 ]; + allowedTCPPorts = [ 2223 80 443 ]; }; interfaces = { end0.ipv4.addresses = [{ diff --git a/system/shared/shared-configuration.nix b/system/shared/shared-configuration.nix index cb8dea6..6c7eb54 100644 --- a/system/shared/shared-configuration.nix +++ b/system/shared/shared-configuration.nix @@ -61,7 +61,7 @@ services.openssh = { enable = true; - ports = [ 2222 ]; + ports = [ 2222 2223 ]; settings.PasswordAuthentication = false; }; diff --git a/users/tsv/ssh/config b/users/tsv/ssh/config index 1db81f3..6c6013f 100644 --- a/users/tsv/ssh/config +++ b/users/tsv/ssh/config @@ -9,7 +9,7 @@ Host kernighan IdentityFile /home/tsv/.ssh/personal User tsv IdentitiesOnly yes - Port 2222 + Port 2223 Host git.tsvallender.co.uk HostName git.tsvallender.co.uk