Add AuthorizedKeysCommand support
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
This commit is contained in:
parent
329a762e01
commit
02b52fa7cf
@ -81,6 +81,8 @@
|
|||||||
{{ option_default_uncommented('RSAAuthentication', 'yes') }}
|
{{ option_default_uncommented('RSAAuthentication', 'yes') }}
|
||||||
{{ option_default_uncommented('PubkeyAuthentication', 'yes') }}
|
{{ option_default_uncommented('PubkeyAuthentication', 'yes') }}
|
||||||
{{ option('AuthorizedKeysFile', '%h/.ssh/authorized_keys') }}
|
{{ option('AuthorizedKeysFile', '%h/.ssh/authorized_keys') }}
|
||||||
|
{{ option('AuthorizedKeysCommand', 'none') }}
|
||||||
|
{{ option('AuthorizedKeysCommandUser', 'nobody') }}
|
||||||
|
|
||||||
# Don't read the user's ~/.rhosts and ~/.shosts files
|
# Don't read the user's ~/.rhosts and ~/.shosts files
|
||||||
{{ option_default_uncommented('IgnoreRhosts', 'yes') }}
|
{{ option_default_uncommented('IgnoreRhosts', 'yes') }}
|
||||||
|
Loading…
Reference in New Issue
Block a user