Visual Studio 上的远程 ssh 工作正常。但我刚刚安装了 Docker 扩展。之后,VS 尝试从我的遥控器上的
.profile
文件加载所有内容,但它不起作用。我卸载了 Docker 扩展。我认为删除/编辑 VS 在远程计算机上编写的一些文件应该会有所帮助(在 .vscode-server
文件夹内)。你能帮我解决这个问题吗?
这是我在日志输出文件中看到的。
6e1dff78f10: running
Acquiring lock on /home/username/.vscode-server/bin/3a6960b964327f0e3882ce18fcebd07ed191b316/vscode-remote-lock.username.3a6960b964327f0e3882ce18fcebd07ed191b316
Installation already in progress...
If you continue to see this message, you can try toggling the remote.SSH.useFlock setting
76e1dff78f10: start
exitCode==24==
listeningOn====
osReleaseId==centos==
arch==x86_64==
tmpDir==/run/user/609516==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====
76e1dff78f10: end
您必须使用 VS Code 命令:
Remote-SSH: Kill VS Code Server on Host...
Ctrl
+ Maj
+ P
或 View
->Command Palette...
)Remote-SSH: Kill VS Code Server on Host...