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;
|
forwardX11 = true;
|
||||||
permitRootLogin = "no";
|
permitRootLogin = "no";
|
||||||
startWhenNeeded = true;
|
startWhenNeeded = true;
|
||||||
|
openFirewall = true;
|
||||||
|
passwordAuthentication = false;
|
||||||
};
|
};
|
||||||
nix.sshServe.enable = true;
|
nix.sshServe.enable = true;
|
||||||
nix.sshServe.keys = [
|
nix.sshServe.keys = [
|
||||||
|
|
Loading…
Reference in a new issue