본문 바로가기
Git

[Git] GitHub에 SSH 공개키를 등록했는데도 Permission denied가 발생하는 경우 2(git ssh authentication fails with ssh_askpass: posix_spawn: Unknown error)

by 준그래머 2023. 7. 19.
반응형

git ssh authentication fails with ssh_askpass: posix_spawn: Unknown error 에러 뜨면서 pull 또는 push가 안됨

 

찾아본 결과 OpenSSH의 버전이 낮아서 생긴 이슈였음

 

해결 방법은

Linux의 경우

OpenSSH를 특정 버전으로 맞춰 준다.

 

OpenSSH Server | Ubuntu

Ubuntu is an open source software operating system that runs from the desktop, to the cloud, to all your internet connected things.

ubuntu.com

 

Window의 경우

Git을 삭제하고 다시 설치 또는 Linux처럼 bash에서 OpenSSH 버전을 맞춰 준다.

반응형