Refactor SSH configuration and enable ECDSA host key algorithm
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user