Skip to content

Commit

Permalink
Support for Amazon Linux 2
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Mitnyan <[email protected]>
  • Loading branch information
mmitnyan committed Jan 24, 2023
1 parent fdd0bfc commit 333fcdd
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions roles/ssh_hardening/vars/Amazon_2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
sshd_path: /usr/sbin/sshd
ssh_host_keys_dir: '/etc/ssh'
sshd_service_name: sshd
ssh_owner: root
ssh_group: root
ssh_host_keys_owner: 'root'
ssh_host_keys_group: 'ssh_keys'
ssh_selinux_packages:
- policycoreutils-python
- checkpolicy

# true if SSH support Kerberos
ssh_kerberos_support: true

# true if SSH has PAM support
ssh_pam_support: true

sshd_moduli_file: '/etc/ssh/moduli'

# disable CRYPTO_POLICY to take settings from sshd configuration
# see: https://access.redhat.com/solutions/4410591
sshd_disable_crypto_policy: true

0 comments on commit 333fcdd

Please sign in to comment.