Sfoglia il codice sorgente

Add AuthorizedKeysCommand support

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
tags/v0.41.0
Johannes Löthberg 8 anni fa
parent
commit
02b52fa7cf
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      openssh/files/sshd_config

+ 2
- 0
openssh/files/sshd_config Vedi File

@@ -81,6 +81,8 @@
{{ option_default_uncommented('RSAAuthentication', 'yes') }}
{{ option_default_uncommented('PubkeyAuthentication', 'yes') }}
{{ option('AuthorizedKeysFile', '%h/.ssh/authorized_keys') }}
{{ option('AuthorizedKeysCommand', 'none') }}
{{ option('AuthorizedKeysCommandUser', 'nobody') }}

# Don't read the user's ~/.rhosts and ~/.shosts files
{{ option_default_uncommented('IgnoreRhosts', 'yes') }}

Loading…
Annulla
Salva