openssh: Disable all keyboard interactive login methods

This commit is contained in:
Daniel Frank 2022-01-14 22:47:18 +01:00
parent f4048e694a
commit f7a5d246b3
Signed by: tokudan
GPG key ID: 063CCCAD04182D32

View file

@ -93,6 +93,7 @@
enable = true; enable = true;
# Only allow login through pubkey # Only allow login through pubkey
passwordAuthentication = false; passwordAuthentication = false;
challengeResponseAuthentication = false;
extraConfig = "PubkeyAcceptedAlgorithms +ssh-rsa"; extraConfig = "PubkeyAcceptedAlgorithms +ssh-rsa";
}; };
# Support mosh connections # Support mosh connections