2021-08-03 10:09:13 +02:00
|
|
|
---
|
2023-04-10 22:19:29 +02:00
|
|
|
__sshd_os_supported: true
|
2022-04-06 14:01:13 +02:00
|
|
|
|
2022-08-17 13:53:56 +02:00
|
|
|
__sshd_packages:
|
2021-08-03 10:09:13 +02:00
|
|
|
- openssh
|
|
|
|
- openssh-server
|
2022-08-17 13:53:56 +02:00
|
|
|
__sshd_sftp_server: /usr/libexec/openssh/sftp-server
|
2021-08-03 10:09:13 +02:00
|
|
|
# RHEL 9 ships with drop-in directory support so we touch
|
2022-04-06 14:01:13 +02:00
|
|
|
# just included file with highest priority by default
|
2021-08-03 10:09:13 +02:00
|
|
|
__sshd_config_file: /etc/ssh/sshd_config.d/00-ansible_system_role.conf
|
2022-04-06 14:01:13 +02:00
|
|
|
# the defaults here represent the defaults shipped in the main sshd_config
|
2021-08-03 10:09:13 +02:00
|
|
|
__sshd_defaults:
|
2022-04-06 14:01:13 +02:00
|
|
|
Include: /etc/ssh/sshd_config.d/*.conf
|
|
|
|
AuthorizedKeysFile: .ssh/authorized_keys
|
2023-03-31 15:57:48 +02:00
|
|
|
Subsystem: "sftp {{ __sshd_sftp_server }}"
|
2022-04-06 14:01:13 +02:00
|
|
|
|
2022-04-11 13:07:44 +02:00
|
|
|
__sshd_verify_hostkeys_default:
|
|
|
|
- /etc/ssh/ssh_host_rsa_key
|
|
|
|
- /etc/ssh/ssh_host_ecdsa_key
|
|
|
|
- /etc/ssh/ssh_host_ed25519_key
|
|
|
|
__sshd_hostkeys_nofips:
|
|
|
|
- /etc/ssh/ssh_host_ed25519_key
|
2021-08-03 10:09:13 +02:00
|
|
|
__sshd_hostkey_group: ssh_keys
|
|
|
|
__sshd_hostkey_mode: "0640"
|
2022-04-06 14:01:13 +02:00
|
|
|
|
2022-08-17 16:34:35 +02:00
|
|
|
__sshd_drop_in_dir_mode: '0700'
|
2022-04-06 14:01:13 +02:00
|
|
|
__sshd_main_config_file: /etc/ssh/sshd_config
|