Refactor SSH configuration and enable ECDSA host key algorithm

This commit is contained in:
2024-09-24 19:00:10 +02:00
parent 50250c57d2
commit 754f5eb4bb
+6
View File
@@ -45,6 +45,12 @@ jobs:
done done
chmod 600 ~/.ssh/known_hosts chmod 600 ~/.ssh/known_hosts
- name: Enable SSH host key algorithms
run: |
echo "Host *" >> ~/.ssh/config
echo " HostKeyAlgorithms +sk-ecdsa-sha2-nistp256"
chmod 600 ~/.ssh/config
- name: Apply Ansible Playbook - name: Apply Ansible Playbook
env: env:
VAULT_MASTER_PASSWORD: ${{ secrets.VAULT_MASTER_PASSWORD }} VAULT_MASTER_PASSWORD: ${{ secrets.VAULT_MASTER_PASSWORD }}