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;
# Only allow login through pubkey
passwordAuthentication = false;
challengeResponseAuthentication = false;
extraConfig = "PubkeyAcceptedAlgorithms +ssh-rsa";
};
# Support mosh connections