close

[Solved] You’re using an RSA key with SHA-1, which is no longer allowed. Please use a newer client or a different key type

I am trying to clone my project But I am facing the following 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 in Github. We are going to Learn about All Possible Solutions So Lets Get Start with This Article.

How You’re using an RSA key with SHA-1, which is no longer allowed. Please use a newer client or a different key type Error Occurs ?

I am trying to clone the existing project on my windows Pc But I am facing an RSA key with SHA-1 not allowed 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

So here I am writing all possible solutions that I have tried to resolve this error.

How To Solve You’re using an RSA key with SHA-1, which is no longer allowed. Please use a newer client or a different key type Error ?

  1. How To Solve You're using an RSA key with SHA-1, which is no longer allowed. Please use a newer client or a different key type Error?

    To Solve You're using an RSA key with SHA-1, which is no longer allowed. Please use a newer client or a different key type Error Github is now not supported RSA keys with SHA-1 and that's why you are facing this error. Here What you can do is Just create a new SSH key with ECDSA and then add this key to Github. Just run this command: ssh-keygen -t ecdsa -b 521 -C “your_email@example.com” Then Just Upload it to GitHub Just after deleting your old key first, then update the SSH2 private key to point to id_ecdsa. Now you will be able to clone repositories and Now, your error must be solved. Thank You!.

  2. You're using an RSA key with SHA-1, which is no longer allowed. Please use a newer client or a different key type

    To Solve You're using an RSA key with SHA-1, which is no longer allowed. Please use a newer client or a different key type Error Github is now not supported RSA keys with SHA-1 and that's why you are facing this error. Here What you can do is Just create a new SSH key with ECDSA and then add this key to Github. Just run this command: ssh-keygen -t ecdsa -b 521 -C “your_email@example.com” Then Just Upload it to GitHub Just after deleting your old key first, then update the SSH2 private key to point to id_ecdsa. Now you will be able to clone repositories and Now, your error must be solved. Thank You!.

Solution 1: create new SSH key with ECDSA

Github is now not supported RSA keys with SHA-1 and that’s why you are facing this error. Here What you can do is Just create a new SSH key with ECDSA and then add this key to Github. Just run this command.

ssh-keygen -t ecdsa -b 521 -C "your_email@example.com"

Then Just Upload it to GitHub Just after deleting your old key first, then update the SSH2 private key to point to id_ecdsa. Now you will be able to clone repositories and Now, your error must be solved. Thank You!.

Summary

It’s all About this error. Hope We solved Your error. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also, Read

2 thoughts on “[Solved] You’re using an RSA key with SHA-1, which is no longer allowed. Please use a newer client or a different key type”

  1. It worked like a charm for me. Lovely solution except I would expect Github to raise this error when git clone is issued or when GH CLI is used, instead of “Error 128” which says nothing

    Reply

Leave a Comment