1
0
Fork 0
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.
Find a file
2019-01-08 14:12:27 +01:00
defaults Optionally disable Allow[Users,Groups] options 2018-08-26 17:25:12 +02:00
handlers On Fedora it is sshd 2018-11-16 11:44:36 +01:00
tasks Minor changes 2019-01-08 14:12:27 +01:00
templates Optionally disable Allow[Users,Groups] options 2018-08-26 17:25:12 +02:00
vars On Fedora it is sshd 2018-11-16 11:44:36 +01:00
README.md Update README 2018-11-12 21:37:43 +01:00

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 the AllowUsers and AllowGroups options.
  • users: which user is allowed to login.

Example config:

users:
  l3d:
    - l3d
  ottojo:
   - ottojo@uni
   - ottojo@home

Files

  • sshd.conf:

References