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;
email = "henry@henryhiles.com";
};
networking.firewall.allowedTCPPorts = [80 443];
networking.firewall.allowedTCPPorts = [2200 443];
}

View file

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

View file

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