File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ alias for legacy connections: `alias ssh_ignore="ssh -F /dev/null"`
3636## Role Variables
3737* ` ssh_sshd_config_dir: /etc/ssh/ `
3838* ` ssh_sshd_config_path: "{{ ssh_sshd_config_dir }}sshd_config" `
39- * ` ssh_permit_root_login: without-password `
39+ * ` ssh_permit_root_login: " without-password" ` quotes are mandatory!
4040* ` ssh_disable_password_login: true `
4141* ` ssh_remove_deprecated_server_keys: true ` disables DSA, ECDSA and regenerate RSA key if <` ssh_host_rsa_key_length `
4242* ` ssh_host_rsa_key_length: 4096 `
Original file line number Diff line number Diff line change 22# defaults file for secure-ssh
33ssh_sshd_config_dir : /etc/ssh/
44ssh_sshd_config_path : " {{ ssh_sshd_config_dir }}sshd_config"
5- # help for ssh_permit_root_login: yes / no / without-password / forced-commands-only
6- ssh_permit_root_login : without-password
5+ # help for ssh_permit_root_login: "yes" / "no" / "without-password" / "forced-commands-only"
6+ # don't forget the quotes! (see https://github.com/elnappo/ansible-role-secure-openssh-server/issues/5)
7+ ssh_permit_root_login : " without-password"
78ssh_disable_password_login : true
89ssh_remove_deprecated_server_keys : true
910ssh_host_rsa_key_length : 4096
You can’t perform that action at this time.
0 commit comments