openssh: replaced deprecated challengeResponseAuthentication
This commit is contained in:
parent
7a1357bee1
commit
dbb8e6def5
|
@ -1,13 +1,14 @@
|
||||||
# SSH service configuration common to all hosts
|
# SSH service configuration common to all hosts
|
||||||
|
|
||||||
{ config, pkgs, lib, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true; # Enable the OpenSSH daemon.
|
enable = true; # Enable the OpenSSH daemon.
|
||||||
permitRootLogin = "prohibit-password";
|
permitRootLogin = "prohibit-password";
|
||||||
challengeResponseAuthentication = false;
|
kbdInteractiveAuthentication = false;
|
||||||
passwordAuthentication = false;
|
passwordAuthentication = false;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
hostKeys = [
|
hostKeys = [
|
||||||
|
@ -17,5 +18,4 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue