mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-12-01 07:00:17 +01:00
Fedora 38 has no longer non-standard hostkey permissions
The Fedora commit introducing this change (now in Rawhide/Fedora 38
only):
7a21555354
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
parent
5c1f645e08
commit
806bab7720
3 changed files with 28 additions and 2 deletions
|
@ -20,8 +20,6 @@ __sshd_verify_hostkeys_default:
|
||||||
- /etc/ssh/ssh_host_ed25519_key
|
- /etc/ssh/ssh_host_ed25519_key
|
||||||
__sshd_hostkeys_nofips:
|
__sshd_hostkeys_nofips:
|
||||||
- /etc/ssh/ssh_host_ed25519_key
|
- /etc/ssh/ssh_host_ed25519_key
|
||||||
__sshd_hostkey_group: ssh_keys
|
|
||||||
__sshd_hostkey_mode: "0640"
|
|
||||||
|
|
||||||
__sshd_drop_in_dir_mode: '0700'
|
__sshd_drop_in_dir_mode: '0700'
|
||||||
__sshd_main_config_file: /etc/ssh/sshd_config
|
__sshd_main_config_file: /etc/ssh/sshd_config
|
||||||
|
|
1
vars/Fedora_36.yml
Symbolic link
1
vars/Fedora_36.yml
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
Fedora_37.yml
|
27
vars/Fedora_37.yml
Normal file
27
vars/Fedora_37.yml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
---
|
||||||
|
__sshd_os_supported: yes
|
||||||
|
|
||||||
|
__sshd_packages:
|
||||||
|
- openssh
|
||||||
|
- openssh-server
|
||||||
|
__sshd_sftp_server: /usr/libexec/openssh/sftp-server
|
||||||
|
# Fedora 32 ships with drop-in directory support so we touch
|
||||||
|
# just included file with highest priority by default
|
||||||
|
__sshd_config_file: /etc/ssh/sshd_config.d/00-ansible_system_role.conf
|
||||||
|
# the defaults here represent the defaults shipped in the main sshd_config
|
||||||
|
__sshd_defaults:
|
||||||
|
Include: /etc/ssh/sshd_config.d/*.conf
|
||||||
|
AuthorizedKeysFile: .ssh/authorized_keys
|
||||||
|
Subsystem: sftp /usr/libexec/sftp-server
|
||||||
|
|
||||||
|
__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
|
||||||
|
__sshd_hostkey_group: ssh_keys
|
||||||
|
__sshd_hostkey_mode: "0640"
|
||||||
|
|
||||||
|
__sshd_drop_in_dir_mode: '0700'
|
||||||
|
__sshd_main_config_file: /etc/ssh/sshd_config
|
Loading…
Reference in a new issue