summaryrefslogtreecommitdiff
path: root/modules/server
diff options
context:
space:
mode:
authorGrigory Shipunov2023-08-25 09:14:29 +0200
committerGrigory Shipunov2023-08-25 09:14:29 +0200
commit33830bf8db59741df2213093b48c6c8473e6253e (patch)
treed96e671b9e3ce95020e5f03d5049713081db9ca6 /modules/server
parent6ca7be486b679e4d432038c8162c77ed1342e2eb (diff)
open eternal terminal 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 28a39f7..7568eec 100644
--- a/modules/server/ssh.nix
+++ b/modules/server/ssh.nix
@@ -8,7 +8,7 @@
settings.PasswordAuthentication = false;
};
- networking.firewall.allowedTCPPorts = [ 22 ];
+ networking.firewall.allowedTCPPorts = [ 22 2022 ];
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHv82n6F6kwJ3/EMYlOoCc1/NaYFW7QHC5F8jKVzdlio gshipunov@toaster"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA3to/h8Myn+zXAkjboaRVqOfmtDz7VpIHhHbaRoYyPX g.shipunov@uva.nl"