Openssh: KexAlgorithms => settings.KexAlgorithms; disable startWhenNeeded.

This commit is contained in:
Kevin Baensch 2023-09-10 15:25:20 +02:00
parent b699e795ae
commit 9d78b39bd0
Signed by: derped
GPG key ID: C0F1D326C7626543

View file

@ -9,9 +9,9 @@ with lib;
mkIf (elem "openssh" config.machine.services) { mkIf (elem "openssh" config.machine.services) {
services.openssh = { services.openssh = {
enable = true; enable = true;
kexAlgorithms = [ "curve25519-sha256@libssh.org" ]; settings.KexAlgorithms = [ "curve25519-sha256@libssh.org" ];
sftpFlags = [ "-f AUTHPRIV" "-l INFO" ]; sftpFlags = [ "-f AUTHPRIV" "-l INFO" ];
startWhenNeeded = true; startWhenNeeded = false;
settings = { settings = {
KbdInteractiveAuthentication = false; KbdInteractiveAuthentication = false;
PasswordAuthentication = false; PasswordAuthentication = false;