Change ssh port
This commit is contained in:
parent
f6b82815ad
commit
587ea99786
3 changed files with 3 additions and 2 deletions
|
@ -3,5 +3,5 @@
|
|||
enable = true;
|
||||
email = "henry@henryhiles.com";
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [80 443];
|
||||
networking.firewall.allowedTCPPorts = [2200 443];
|
||||
}
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
ROOT_URL = "https://${domain}";
|
||||
HTTP_ADDR = socket;
|
||||
PROTOCOL = "http+unix";
|
||||
SSH_LISTEN_PORT = 2200;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PasswordAuthentication = true; # TODO: False
|
||||
PasswordAuthentication = false;
|
||||
AllowUsers = ["quadradical"];
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue