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
“
1条答案
按热度按时间dffbzjpn1#
必须使用VS代码命令:
Remote-SSH: Kill VS Code Server on Host...
1.打开命令面板(
Ctrl
+Maj
+P
或View
-〉Command Palette...
)Remote-SSH: Kill VS Code Server on Host...
1.选择有问题的主机
1.重新启动VS代码
1.再试一次