How to fix FATAL ERROR: Couldn't agree a host key algorithm
Beanstalk recently made a security update to Git SSH access to depreciate support for SHA1 algorithm.
If you're suddenly receiving a "FATAL ERROR: Couldn't agree a host key algorithm (available: rsa-sha2-512,rsa-sha2-256)" error it means you're using SHA1 algorithm to connect to Beanstalk.
To resolve this error:
- Update your SSH client to a version that supports sha2-256 and sha2-512 algorithms.
- We also have a workaround if that cannot be done immediately. To workaround, update your Git Remote to use an HTTPS connection. The HTTPS URL is an option you can view when looking at the repository in the top right: