mirror of
https://github.com/roles-ansible/ansible_role_sshd.git
synced 2024-08-16 11:59:49 +02:00
18 lines
342 B
YAML
18 lines
342 B
YAML
---
|
|
# default users for SSH access
|
|
sshd_default_allowed_users:
|
|
- "root"
|
|
- "ansible"
|
|
|
|
# don't forget to add the ssh_access group!
|
|
sshd_default_allowed_groups:
|
|
- "root"
|
|
- "admins"
|
|
|
|
|
|
# Enable AllowUsers and AllowGroups options
|
|
restrict_allow_users: True
|
|
|
|
# Allow login with password?
|
|
sshd_password_authentication: 'no' # 'yes' or 'no'
|
|
|