summaryrefslogtreecommitdiff
path: root/modules/server
diff options
context:
space:
mode:
authorGrisha Shipunov2024-02-19 15:12:12 +0100
committerGrisha Shipunov2024-02-19 15:12:12 +0100
commit884717f699f953c3bd9d588fed00d1c73e7f5e0d (patch)
treee5353e53d23cae17a600f734f58d8b9231b1aaea /modules/server
parent027b3bfe836b9ab745ac729f9d6b1b69960b6ca4 (diff)
change port
Diffstat (limited to 'modules/server')
-rw-r--r--modules/server/ssh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/server/ssh.nix b/modules/server/ssh.nix
index 044e086..fae0682 100644
--- a/modules/server/ssh.nix
+++ b/modules/server/ssh.nix
@@ -8,7 +8,7 @@
settings.PasswordAuthentication = false;
};
- networking.firewall.allowedTCPPorts = [ 22 2022 ];
+ networking.firewall.allowedTCPPorts = [ 22 2020 ];
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHv82n6F6kwJ3/EMYlOoCc1/NaYFW7QHC5F8jKVzdlio gshipunov@toaster"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA3to/h8Myn+zXAkjboaRVqOfmtDz7VpIHhHbaRoYyPX g.shipunov@uva.nl"