test
This commit is contained in:
parent
ec02d0b00e
commit
04617073fe
2 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,7 @@
|
|||
enable = true;
|
||||
allowedTCPPorts = [ ];
|
||||
allowedUDPPorts = [ ];
|
||||
trustedInterfaces = [ "tailscale0" ];
|
||||
networking.interfaces.tailscale0.allowedTCPPorts = [ 22 ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ config, pkgs, ... }: {
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
openFirewall = false;
|
||||
settings = {
|
||||
LogLevel = "VERBOSE"; # Used for fail2ban monitoring
|
||||
PermitRootLogin = "no";
|
||||
|
|
Loading…
Reference in a new issue