As of today github is changing SSH keys to a more secure type (article link)
The update about the key change:
Existing keys will continue to function through March 15, 2022" . You cannot add new DSA keys to your user account on GitHub.com. RSA keys ( ssh-rsa ) with a valid_after before November 2, 2021 may continue to use any signature algorithm. RSA keys generated after that date must use a SHA-2 signature algorithm.
I had to generate a new key for myself and I believe the new key and ansible don’t work together. When deploying I see this error:
PLAY [Deploy WP site] ***************************************************************
TASK [Gathering Facts] **************************************************************
System info:
Ansible 2.7.0; Darwin
Trellis 1.0.3: April 30th, 2019
---------------------------------------------------
SSH Error: data could not be sent to remote host "xxx.xxx.xxx.xx". Make sure
this host can be reached over ssh
fatal: [staging_host]: UNREACHABLE! => {"changed": false, "unreachable": true}
to retry, use: --limit @/Users/.../trellis/deploy.retry
PLAY RECAP **************************************************************************
localhost : ok=0 changed=0 unreachable=0 failed=0
staging_host : ok=1 changed=0 unreachable=1 failed=0
I’ve tried the legacy SSH key option and the new option as well. Has anyone else experienced or found a solution for this? Any help is greatly appreciated. Thank you!