Openssh: KexAlgorithms => settings.KexAlgorithms; disable startWhenNeeded.
This commit is contained in:
parent
b699e795ae
commit
9d78b39bd0
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue