From 4cbc71041460d72fe13855b06e7a7f1c03f68644 Mon Sep 17 00:00:00 2001 From: Mischa ter Smitten Date: Mon, 11 Mar 2024 13:54:51 +0100 Subject: [PATCH] Fix typo's --- README.md | 4 ++-- templates/etc/ssh/sshd_config.j2 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0960111..3970ea0 100644 --- a/README.md +++ b/README.md @@ -62,8 +62,8 @@ None * `ssh_server_allow_users`: [default: `[]`]: A list of user name patterns. If specified, login is allowed only for user names that match one of the patterns * `ssh_server_deny_groups`: [default: `[]`]: A list of group name patterns. If specified, login is disallowed for users whose primary group or supplementary group list matches one of the patterns * `ssh_server_deny_users`: [default: `[]`]: A list of user name patterns. If specified, login is disallowed for user names that match one of the patterns -* `ssh_server_autorized_keys_command`: [optional]: Specifies a program to be used to look up the user's public keys -* `ssh_server_autorized_keys_command_user`: [default: `nobody`]: Specifies the user under whose account the `AuthorizedKeysCommand` is run +* `ssh_server_authorized_keys_command`: [optional]: Specifies a program to be used to look up the user's public keys +* `ssh_server_authorized_keys_command_user`: [default: `nobody`]: Specifies the user under whose account the `AuthorizedKeysCommand` is run ## Dependencies diff --git a/templates/etc/ssh/sshd_config.j2 b/templates/etc/ssh/sshd_config.j2 index d151e62..45dfac8 100644 --- a/templates/etc/ssh/sshd_config.j2 +++ b/templates/etc/ssh/sshd_config.j2 @@ -43,8 +43,8 @@ PubkeyAuthentication {{ ssh_server_pubkey_authentication | bool | ternary('yes', AuthorizedKeysFile {{ ssh_server_authorized_keys_file }} {% if ssh_server_autorized_keys_command is defined %} -AuthorizedKeysCommand {{ ssh_server_autorized_keys_command }} -AuthorizedKeysCommandUser {{ ssh_server_autorized_keys_command_user }} +AuthorizedKeysCommand {{ ssh_server_authorized_keys_command }} +AuthorizedKeysCommandUser {{ ssh_server_authorized_keys_command_user }} {% endif %} # Don't read the user's ~/.rhosts and ~/.shosts files