Difference between revisions of "AuthenticationMethods"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | https://man7.org/linux/man-pages/man5/sshd_config.5.html | ||
<code>AuthenticationMethods [[publickey]],[[password publickey]],[[keyboard-interactive]]</code> | <code>AuthenticationMethods [[publickey]],[[password publickey]],[[keyboard-interactive]]</code> | ||
+ | |||
+ | |||
+ | Note that each authentication method listed should also be | ||
+ | explicitly enabled in the configuration. | ||
+ | |||
+ | The available authentication methods are: | ||
+ | "gssapi-with-mic", "hostbased", "keyboard-interactive", | ||
+ | "none" (used for access to password-less accounts when | ||
+ | PermitEmptyPasswords is enabled), "password" and | ||
+ | "[[publickey]]". | ||
+ | |||
+ | |||
+ | |||
+ | [[PubkeyAuthentication]] | ||
+ | [[AuthorizedKeysFile]] | ||
+ | [[$HOME/.ssh/authorized_keys]] | ||
== See also == | == See also == | ||
Line 6: | Line 23: | ||
* {{sshd_config}} | * {{sshd_config}} | ||
− | [[Category: | + | [[Category:OpenSSH]] |
Latest revision as of 15:36, 23 August 2023
https://man7.org/linux/man-pages/man5/sshd_config.5.html
AuthenticationMethods publickey,password publickey,keyboard-interactive
Note that each authentication method listed should also be explicitly enabled in the configuration.
The available authentication methods are: "gssapi-with-mic", "hostbased", "keyboard-interactive", "none" (used for access to password-less accounts when PermitEmptyPasswords is enabled), "password" and "publickey".
PubkeyAuthentication AuthorizedKeysFile $HOME/.ssh/authorized_keys
See also[edit]
Advertising: