증상

2018-02-22 이후부터 source tree 로 github 에서 push/pull 시 다음 에러 메시지가 발생하고 종료

Couldn't agree a key exchange algorithm (available: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521)



원인

github 가 보안 강화를 위해 강력한 알고리즘으로 교체했는데 소스트리에서 사용하고 있는 개인키 에이전트인 putty agent 가 버전이 오래 되서 이를 지원하지 못함

조치

https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html 에서 최신 버전의 putty 를 받아서 기존 파일에 덮어 쓰고 소스트리 재실행

소스트리가 실행하는 putty 의 경로는 보통 다음과 같음

  • C:\Users\username\AppData\Local\SourceTree\app-2.1.10\tools\putty


Windows 64용 zip 파일

Ref