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-03-04 17:21:55 +01:00
defaults Optionally disable Allow[Users,Groups] options 2018-08-26 17:25:12 +02:00
handlers become: yes 2019-03-04 17:21:55 +01:00
tasks Arch support and use become: yes 2019-02-20 11:54:02 +01:00
templates Optionally disable Allow[Users,Groups] options 2018-08-26 17:25:12 +02:00
vars Arch support and use become: yes 2019-02-20 11:54:02 +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