Since some time ago, RSA SSH keys are no longer supported by GitHub. Therefore, if you encounter errors while using Git, follow the steps below:
1. Open Sourcetree and go to Tools > Generate or Import SSH Key.
2. Select ECDSA at the bottom.
3. Click Generate and save the public/private key.
4. In Sourcetree, go to Tools > Options > General and change the SSH key to the private key you generated.
Now, go to the GitHub settings page to register the key. When registering, use the following format:
ecdsa-sha2-nistp256 [copied public key]
ecdsa-sha2-nistp256 [copied public key]
After registering the key, restart Sourcetree. You should now be able to use Git without any issues.
'Web development > Infra' 카테고리의 다른 글
Troubleshooting AWS CodeDeploy in a Node.js Project (0) | 2023.05.24 |
---|---|
[Jenkins] No space in device error (0) | 2023.05.24 |
Azure Pipeline node.js 람다 배포 템플릿 만들기 (0) | 2020.09.11 |
[Azure to AWS] Azure Pipeline으로 AWS Lambda 배포하기 (0) | 2020.06.19 |
[Azure to EKS] Azure App Service -> k8s 이전시 환경변수 변환 스크립트 (0) | 2020.06.19 |
댓글