Improve ssh security and open firewall
This commit is contained in:
parent
224f955657
commit
a58e767fe1
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
|||
forwardX11 = true;
|
||||
permitRootLogin = "no";
|
||||
startWhenNeeded = true;
|
||||
openFirewall = true;
|
||||
passwordAuthentication = false;
|
||||
};
|
||||
nix.sshServe.enable = true;
|
||||
nix.sshServe.keys = [
|
||||
|
|
Loading…
Reference in a new issue