1
0
Fork 0

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
1 changed files with 2 additions and 2 deletions

View File

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