Skip to content

void-ansible-roles/sshd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sshd

What is does this role do?

This role configures sshd for use on a Void Linux system. This role handles tasks such as security hardening and making sure that sshd is only running on the addresses expected.

Meta

Files Managed:

  • /etc/ssh/sshd_config

Defaults Provided:

Variables Required:

  • None

Optional Variables:

  • sshd_banner: Name of a file to copy as the sshd banner
  • sshd_listen_addresses: List of addresses to run sshd on. If this variable is not present, sshd will bind to all addresses on the system.
  • sshd_usepam: binary, whether or not to use PAM
  • sshd_passwords: permit password authentication
  • sshd_challengeresponse: permit challenge/response authentication
  • sshd_Ciphers: List of ciphers to use
  • sshd_KexAlgorithms: List of Key Exchange Algorithms to use
  • sshd_MACs: List of Message Authentication Codes to use
  • sshd_AllowGroupAlways: group which will always be added to the AllowedGroups list
  • sshd_AllowGroups: list of groups which will be added with AllowGroups entries
  • sshd_AuthenticationMethods: List of authentication methods to try
  • sshd_AuthorizedKeysCommand: Optional command to run to retrieve keys

Files Required:

  • None

Optional Files:

  • ssh_banners: Files containing ssh banners, it is suggested that these files are ascii art banners not larger than 24 lines long and 80 columns wide. These files must be accessible to ansible, so it is suggested to store them within the directory tree which contains the rest of the ansible files.

Conflicting Roles:

  • None

Depends On:

About

Ansible role to configure sshd on Void Linux.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published