openssh: Disable all keyboard interactive login methods
This commit is contained in:
parent
f4048e694a
commit
f7a5d246b3
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue