Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vscode can't open certain folder with remote ssh

i am able to remote-ssh to my vm with vscode, however there are some folder I used to be able to open but now i get ssh timeout, however some other folder works fine.

any idea?

e.g ~/code/folder_a ----ok ~/code/folder_b ----ssh timeout

if I rename folder_b to something else, I then can open it, if I rename it back to folder_b, still get timeout.

like image 601
Zhongmin Avatar asked Jul 11 '26 01:07

Zhongmin


1 Answers

At windows client:

  • Delete all the folder in %USERPROFILE%\AppData\Roaming\Code\User\workspaceStorage

At linux client:

  • Delete all the folder in ~/.vscode/workspaceStorage or ~/.config/Code/User/workspaceStorage
like image 107
Mickaël Blet Avatar answered Jul 13 '26 17:07

Mickaël Blet



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!