FEATURE: hardened ssh client config added, task pushing it added
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
Host *
|
||||
HashKnownHosts yes
|
||||
GSSAPIAuthentication yes
|
||||
KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512,curve25519-sha256
|
||||
@@ -8,8 +8,8 @@
|
||||
notify: restart sshd
|
||||
|
||||
|
||||
#- name: Configure ssh client
|
||||
# copy:
|
||||
# src: /home/max/ansible_files/ssh_config
|
||||
# dest: /etc/ssh/ssh_config
|
||||
# mode: u=rw,g=r,o=r
|
||||
- name: Configure ssh client
|
||||
copy:
|
||||
src: ../files/hardened_ssh.conf
|
||||
dest: /etc/ssh/ssh_config.d/hardened_ssh.conf
|
||||
mode: u=rw,g=r,o=r
|
||||
Reference in New Issue
Block a user