mirror of
https://github.com/roles-ansible/ansible_role_sshd.git
synced 2024-08-16 11:59:49 +02:00
Ansible role to configure and secure sshd and optional add a whitelist for users, groups and ssh keys.
defaults | ||
handlers | ||
tasks | ||
templates | ||
vars | ||
README.md |
OpenSSH Server
Ansible role to configure the OpenSSH ssh
server.
Use Eliptic cureve cryptografie for your ssh keys e.g.:
ssh-keygen -t ed25519
Variables
restrict_allow_users
: enable theAllowUsers
andAllowGroups
options.
users
: which user is allowed to login.
Example config:
users:
l3d:
- l3d
ottojo:
- ottojo@uni
- ottojo@home
Files
sshd.conf
: