nixos: adjust ssh
This commit is contained in:
parent
691893cde9
commit
c564857aa4
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue