nixos: adjust ssh

This commit is contained in:
genofire 2021-10-14 23:02:41 +02:00
parent 691893cde9
commit c564857aa4
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,9 @@
services.openssh = { services.openssh = {
enable = true; enable = true;
passwordAuthentication = false;
challengeResponseAuthentication = false;
permitRootLogin = "without-password";
openFirewall = true; openFirewall = true;
ports = [ 1512 ]; ports = [ 1512 ];
startWhenNeeded = true; startWhenNeeded = true;