본문 바로가기
Git/문제 해결

[Git] Sourcetree에서 pull했을때 PuTTY's cache and carry on connecting. If you want to carry on connecting just once, withoutadding the key to the cache, enter "n". ... 발생할 때

by 카피마스터 2024. 4. 20.

에러 메시지

PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
Store key in cache? (y/n, Return cancels connection, i for more info) fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

 

해결

1. plink.exe 경로로 이동(C:\Users\[계정명]\AppData\Local\SourceTree\app-[버전]\tools\putty)

 

2. 해당 경로에서 터미널을 열고 다음 명령어를 입력

- .\plink.exe "저장소주소"

- 비밀번호를 입력하여 접속

 

3. 다시 sourcetree에서 pull