FIX: copy instruction in update_configs role, enabled PAM in sshd config
This commit is contained in:
@@ -2,7 +2,7 @@ PubkeyAuthentication yes
|
||||
AuthorizedKeysFile .ssh/authorized_keys
|
||||
PasswordAuthentication no
|
||||
KbdInteractiveAuthentication no
|
||||
UsePAM no
|
||||
UsePAM yes
|
||||
# Disable password authentication — keys only
|
||||
PasswordAuthentication no
|
||||
ChallengeResponseAuthentication no
|
||||
@@ -26,4 +26,4 @@ MaxSessions 3
|
||||
# Use modern key exchange and ciphers, prioritize post-quantum algorithms (mlkem and sntrup)
|
||||
KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512,sntrup761x25519-sha512@openssh.com,curve25519-sha256,curve25519-sha256@libssh.org
|
||||
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com
|
||||
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com
|
||||
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
- name: Configure ranger, by pushing the config
|
||||
ansible.builtin.copy:
|
||||
src: "{{ role_path }}/files/ranger_config"
|
||||
src: "{{ role_path }}/files/ranger_config/"
|
||||
dest: /home/max/.config/ranger
|
||||
owner: max
|
||||
group: max
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
- name: Configure neovim, by pushing the config
|
||||
ansible.builtin.copy:
|
||||
src: "{{ role_path }}/files/nvim_config"
|
||||
src: "{{ role_path }}/files/nvim_config/"
|
||||
dest: /home/max/.config/nvim
|
||||
owner: max
|
||||
group: max
|
||||
|
||||
Reference in New Issue
Block a user