How to solve the "You're using an RSA key with SHA-1, which is no longer allowed" Error for Github
Code Fallacy
Hello everyone, In this video i will be showing you how to solve the Error: "You're using an RSA key with SHA-1, which is no longer allowed. Please use a newer client or a different key type." that you get on your terminal when attempting to use Git with a Github Repository.
This issue happens because Github is no longer accepting RSA keys for authentication on servers and computers. This was a move they announced a while ago and had an implementation date somewhere in March 2022. The solution is simple:
- Generate a ecdsa key with ssh-keygen on the server terminal with this command: ssh-keygen -t ecdsa -b 521 -C "example@domain.com"
- If you are using CPanel you will need to authorize the ecdsa key to be used on the SSH keys menu option.
- Go to your github profile and add the ecdsa public key to the authorized keys on github.
- You should now be able to continue to use Git and Github. ... https://www.youtube.com/watch?v=fxg1TESyIfw
2022-08-28
0.0 LBC
Copyrighted (contact publisher)
29339292 Bytes