change ssh port

This commit is contained in:
jaina heartles 2024-02-27 12:57:38 -08:00
parent ddf9d49b66
commit 0005df6c2b

View file

@ -58,5 +58,7 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG6udktq60NydvPg6nnZpwxvQ6scC1HkqTZIG+ORt/HN" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG6udktq60NydvPg6nnZpwxvQ6scC1HkqTZIG+ORt/HN"
]; ];
services.openssh.settings.PasswordAuthentication = false; services.openssh.settings.PasswordAuthentication = false;
services.openssh.ports = [ 9922 ];
networking.firewall.allowedTCPPorts = [ 9922 ];
system.stateVersion = "23.11"; system.stateVersion = "23.11";
} }