openssh: Disable all keyboard interactive login methods
This commit is contained in:
parent
f4048e694a
commit
f7a5d246b3
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@
|
|||
enable = true;
|
||||
# Only allow login through pubkey
|
||||
passwordAuthentication = false;
|
||||
challengeResponseAuthentication = false;
|
||||
extraConfig = "PubkeyAcceptedAlgorithms +ssh-rsa";
|
||||
};
|
||||
# Support mosh connections
|
||||
|
|
Loading…
Reference in a new issue