From e00e55460cf0c7b67d98d3af6f9a755bcb447c07 Mon Sep 17 00:00:00 2001 From: sinavir Date: Wed, 20 Dec 2023 19:53:39 +0100 Subject: [PATCH] org: add 2222 ssh port --- machines/org/_ssh.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/machines/org/_ssh.nix b/machines/org/_ssh.nix index fdd66bd..45650d3 100644 --- a/machines/org/_ssh.nix +++ b/machines/org/_ssh.nix @@ -2,9 +2,10 @@ # Enable the OpenSSH daemon. services.openssh.enable = true; services.openssh.settings.PasswordAuthentication = false; + services.openssh.ports = [ 22 2222 ]; # Open ports in the firewall. (In fact not needed) - networking.firewall.allowedTCPPorts = [ 22 ]; + networking.firewall.allowedTCPPorts = [ 22 2222 ]; # Mosh <3 programs.mosh.enable = true;