Change ssh port

This commit is contained in:
Henry Hiles 2025-03-25 17:23:36 -04:00
parent f6b82815ad
commit 587ea99786
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
3 changed files with 3 additions and 2 deletions

View file

@ -3,5 +3,5 @@
enable = true; enable = true;
email = "henry@henryhiles.com"; email = "henry@henryhiles.com";
}; };
networking.firewall.allowedTCPPorts = [80 443]; networking.firewall.allowedTCPPorts = [2200 443];
} }

View file

@ -19,6 +19,7 @@
ROOT_URL = "https://${domain}"; ROOT_URL = "https://${domain}";
HTTP_ADDR = socket; HTTP_ADDR = socket;
PROTOCOL = "http+unix"; PROTOCOL = "http+unix";
SSH_LISTEN_PORT = 2200;
}; };
}; };
}; };

View file

@ -3,7 +3,7 @@
services.openssh = { services.openssh = {
enable = true; enable = true;
settings = { settings = {
PasswordAuthentication = true; # TODO: False PasswordAuthentication = false;
AllowUsers = ["quadradical"]; AllowUsers = ["quadradical"];
PermitRootLogin = "no"; PermitRootLogin = "no";
}; };