blob: ce5d4c8ed3c7e52d3ff010373d875694eb3b76d1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{ ... }: {
services.openssh = {
enable = true;
permitRootLogin = "yes";
passwordAuthentication = false;
};
programs.mosh.enable = true;
networking.firewall.allowedTCPPorts = [ 22 ];
# Relevant ports for mosh
networking.firewall.allowedUDPPortRanges = [{
from = 6000;
to = 6100;
}];
}
|