Skip to content

Commit

Permalink
configure ssh server
Browse files Browse the repository at this point in the history
  • Loading branch information
FaustXVI committed Dec 29, 2024
1 parent b2bfbcc commit 01de9fa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions modules/hardware/network.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@
services = {
openssh = {
enable = true;
openFirewall = true;
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
PermitRootLogin = "no";
GatewayPorts = "yes";
StreamLocalBindUnlink="yes";
};
extraConfig = ''
StreamLocalBindUnlink yes
'';
};
};
}

0 comments on commit 01de9fa

Please sign in to comment.