본문 바로가기
🐾 깃 𝗚𝗶𝘁 𝗛𝘂𝗯

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

by 비타민찌 2023. 2. 16.
728x90

운영서버(폐쇄망)에서 git clone 하려고 sha.pub 키를 git에 등록하고 진행 하는데

다음과 같은 에러가 났다.

 

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

 

 

[해결방법]

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

 

이걸로 git > settings > key 에 등록하고 (sha 키 등록과 똑같이) 다시 진행하면 된다.

 

 

 

 

쉬운게 없음 이 에러가 갑자기 왜났는지도 모르겠다

728x90

댓글