Correct kernighan SSH port

This commit is contained in:
Trevor Vallender 2023-07-27 18:47:27 +01:00
parent d03872f7f8
commit 8671328595
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
hostName = "kernighan"; hostName = "kernighan";
firewall = { firewall = {
enable = true; enable = true;
allowedTCPPorts = [ 2222 80 443 ]; allowedTCPPorts = [ 2223 80 443 ];
}; };
interfaces = { interfaces = {
end0.ipv4.addresses = [{ end0.ipv4.addresses = [{

View File

@ -61,7 +61,7 @@
services.openssh = { services.openssh = {
enable = true; enable = true;
ports = [ 2222 ]; ports = [ 2222 2223 ];
settings.PasswordAuthentication = false; settings.PasswordAuthentication = false;
}; };

View File

@ -9,7 +9,7 @@ Host kernighan
IdentityFile /home/tsv/.ssh/personal IdentityFile /home/tsv/.ssh/personal
User tsv User tsv
IdentitiesOnly yes IdentitiesOnly yes
Port 2222 Port 2223
Host git.tsvallender.co.uk Host git.tsvallender.co.uk
HostName git.tsvallender.co.uk HostName git.tsvallender.co.uk