티스토리 뷰

개발관련

VSCode remote-ssh 오류 해결

puremint 2022. 3. 18. 17:31
반응형

 

macOS Monterey 업데이트 후, vscode 에서 remote-ssh 아래 오류를 내고 접속이 안됨..;;;

 

could not establish connection to "". The VS Code Server failed to start</host name>

 

~~~~ bin/code-server: line 10: python: command not found
> usage: dirname string [...]
> usage: dirname string [...]

 

*해결방법

파이선 최신 버전 설치 (https://www.python.org/downloads/macos/)

이후, ~~~~ bin/code-server 파일을 vscode 에서 열어서,

python 을 python3 으로 수정 후 저장..

그리고 다시 접속시 정상적으로 접속됨을 확인!!

 

반응형
댓글
댓글쓰기 폼