본문 바로가기
Tutorial, Guide

vscode 업데이트로 접속이 안될 때

by 궁금한 준이 2023. 12. 19.
728x90
반응형

vscode가 업데이트 하더니 또 접속이 안되는 것 같다...

mobaxterm에서는 접속이 되는 걸 보아 vscode 문제인 것 같다

 

vscode-server 삭제 후 재접속

rm -rf ~/.vscode-server

그리고 다시 vscode로 접속해서 접속을 기다리면 된다. (시간이 오래 걸린다)

 

삭제가 안될 때

rm: cannot remove '[DIRECTORY_NAME]': Device or resource busy

어떤 프로세스가 해당 파일을 점유하고 있기 때문이다.

해당 프로세스를 찾아서 kill해주자

$ lsof +D ~/.vscode-server

PID 3178, 4169
UNCHECK Use Flock

reference

https://support.cs.jhu.edu/wiki/Trouble_Logging_In_Using_VS_Code_With_Remote_SSH_Plugin

 

Trouble Logging In Using VS Code With Remote SSH Plugin - CS IT Support Wiki

If you are trying to log in to our CS Linux systems and are having issues doing so and are using Visual Studio Code with the Remote SSH Plugin, you might need to change the remote.SSH.useFlock setting. We've seen problems in the past that may have been rel

support.cs.jhu.edu

 

728x90
반응형