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