openssh: disable password authentication
This commit is contained in:
parent
162ed715e5
commit
070c9d9b47
|
@ -185,6 +185,7 @@
|
|||
banner = ''
|
||||
See https://gitea.c3d2.de/c3d2/nix-config for configuration and documentation
|
||||
'';
|
||||
passwordAuthentication = false;
|
||||
permitRootLogin = "prohibit-password";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue