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 = {
enable = true;
passwordAuthentication = false;
challengeResponseAuthentication = false;
permitRootLogin = "without-password";
openFirewall = true;
ports = [ 1512 ];
startWhenNeeded = true;