diff --git a/system/kernighan/kernighan.nix b/system/kernighan/kernighan.nix index 1f1a37f..5e51f1c 100644 --- a/system/kernighan/kernighan.nix +++ b/system/kernighan/kernighan.nix @@ -13,7 +13,7 @@ hostName = "kernighan"; firewall = { enable = true; - allowedTCPPorts = [ 22 80 443 ]; + allowedTCPPorts = [ 2222 80 443 ]; }; interfaces = { end0.ipv4.addresses = [{ diff --git a/users/tsv/ssh/config b/users/tsv/ssh/config index 37c5bce..1db81f3 100644 --- a/users/tsv/ssh/config +++ b/users/tsv/ssh/config @@ -9,6 +9,7 @@ Host kernighan IdentityFile /home/tsv/.ssh/personal User tsv IdentitiesOnly yes + Port 2222 Host git.tsvallender.co.uk HostName git.tsvallender.co.uk