Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/visual-studio-code/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio code 已在远程主机上成功安装vs code server,但它';It’他还在试着安装一些东西_Visual Studio Code - Fatal编程技术网

Visual studio code 已在远程主机上成功安装vs code server,但它';It’他还在试着安装一些东西

Visual studio code 已在远程主机上成功安装vs code server,但它';It’他还在试着安装一些东西,visual-studio-code,Visual Studio Code,我已按照此处的步骤在远程主机上成功安装了vs code server 现在,当我通过ssh连接到远程主机时,我可以成功连接并开始工作,但在安装终端中,它仍在尝试安装某些东西,不确定它是否是我希望在远程主机上安装的扩展,我希望在较早时安装,稍后使用vsix成功安装。请参阅下面远程ssh的日志,再往下看,还有安装终端的输出,其中显示一个小条在移动,似乎指示某些事情的进展 如何在每次连接到主机时阻止它执行此操作?谢谢 [11:58:58.011] remote-ssh-nightly@2019.10.

我已按照此处的步骤在远程主机上成功安装了vs code server

现在,当我通过ssh连接到远程主机时,我可以成功连接并开始工作,但在安装终端中,它仍在尝试安装某些东西,不确定它是否是我希望在远程主机上安装的扩展,我希望在较早时安装,稍后使用vsix成功安装。请参阅下面远程ssh的日志,再往下看,还有安装终端的输出,其中显示一个小条在移动,似乎指示某些事情的进展

如何在每次连接到主机时阻止它执行此操作?谢谢

[11:58:58.011] remote-ssh-nightly@2019.10.9540
[11:58:58.011] win32 x64
[11:58:58.013] SSH Resolver called for "ssh-remote+<hostname>", attempt 1
[11:58:58.013] SSH Resolver called for host: <hostname>
[11:58:58.013] Setting up SSH remote "<hostname>"
[11:58:58.028] Using commit id "<mycommitid>" and quality "stable" for server
[11:58:58.029] Testing ssh with ssh -V
[11:58:58.287] ssh exited with code: 0
[11:58:58.287] Got stderr from ssh: OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
[11:58:58.290] Running script with connection command: ssh -T -D 61671 <hostname> bash
[11:58:58.292] Install and start server if needed
[11:58:58.295] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[11:58:58.639] > 
[11:58:58.639] Got some output, clearing connection timeout
[11:58:59.616] > 6c2c07692b2a: running
> 
[11:58:59.677] > Acquiring lock on /users/<myuserid>/.vscode-server/bin/<mycommitid>/vscode-remote-lock.<mycommitid>
> Found existing installation at /users/<myuserid>/.vscode-server/bin/<mycommitid>...
> 
[11:58:59.718] > Found running server...
> 
> *
> * Reminder: You may only use this software with Visual Studio family products,
> * as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
> *
> 
> 
[11:58:59.739] > Checking server status on port 32772 with wget
> 6c2c07692b2a: start
> sshAuthSock====
> agentPort==32772==
> webViewServerPort====
> osReleaseId==centos==
> arch==x86_64==
> webUiAccessToken====
> 6c2c07692b2a: end
> 
[11:58:59.739] Received install output: 
sshAuthSock====
agentPort==32772==
webViewServerPort====
osReleaseId==centos==
arch==x86_64==
webUiAccessToken====

[11:58:59.740] Remote server is listening on port 32772
[11:58:59.740] Parsed server configuration: {"agentPort":32772,"osReleaseId":"centos","arch":"x86_64","webUiAccessToken":"","sshAuthSock":""}
[11:58:59.741] Starting forwarding server. localPort 61674 -> socksPort 61671 -> remotePort 32772
[11:58:59.742] Forwarding server listening on 61674
[11:58:59.742] Waiting for ssh tunnel to be ready
[11:58:59.750] [Forwarding server 61674] Got connection 0
[11:58:59.755] Tunneled remote port 32772 to local port 61674
[11:58:59.756] Resolved "ssh-remote+<hostname>" to "127.0.0.1:61674"
[11:58:59.756] TELEMETRY: {"eventName":"resolver","properties":{"outcome":"success","osReleaseId":"centos","arch":"x86_64","askedPw":"0","askedPassphrase":"0","asked2fa":"0","askedHostKey":"0","remoteInConfigFile":"1","gotUnrecognizedPrompt":"0"},"measures":{"resolveAttempts":1,"retries":1}}
[11:58:59.756] ------




[11:58:59.784] [Forwarding server 61674] Got connection 1
[11:58:59.789] [Forwarding server 61674] Got connection 2
[12:01:59.722] > 
[12:04:59.733] > 
[12:07:59.744] > 
[11:58:58.011]远程ssh-nightly@2019.10.9540
[11:58:58.011]win32 x64
[11:58:58.013]SSH解析程序调用了“SSH remote+”,尝试1
[11:58:58.013]为主机调用了SSH解析程序:
[11:58:58.013]设置SSH远程“”
[11:58:58.028]为服务器使用提交id“”和质量“稳定”
[11:58:58.029]使用ssh-V测试ssh
[11:58:58.287]ssh已退出,代码为:0
[11:58:58.287]从ssh获得标准:OpenSSH_for_Windows_7.7p1,LibreSSL 2.6.5
[11:58:58.290]使用连接命令运行脚本:ssh-T-d61671bash
[11:58:58.292]必要时安装并启动服务器
[11:58:58.295]终端外壳路径:C:\WINDOWS\System32\cmd.exe
[11:58:58.639] > 
[11:58:58.639]获得一些输出,正在清除连接超时
[11:58:59.616]>6c2c07692b2a:正在运行
> 
[11:58:59.677]>获取/users//.vscode服务器/bin//vscode远程锁上的锁。
>在/users/.vscode服务器/bin/找到现有安装。。。
> 
[11:58:59.718]>发现正在运行的服务器。。。
> 
> *
>*提醒:您只能将此软件用于Visual Studio系列产品,
>*如许可证中所述(https://go.microsoft.com/fwlink/?linkid=2077057)
> *
> 
> 
[11:58:59.739]>使用wget检查端口32772上的服务器状态
>6c2c07692b2a:启动
>沙斯索克====
>代理端口==32772==
>webViewServerPort====
>osReleaseId==centos==
>arch==x86_64==
>webUiAccessToken====
>6c2c07692b2a:结束
> 
[11:58:59.739]收到安装输出:
沙斯索克====
代理端口==32772==
webViewServerPort====
osReleaseId==centos==
arch==x86_64==
webUiAccessToken====
[11:58:59.740]远程服务器正在侦听端口32772
[11:58:59.740]解析的服务器配置:{“agentPort”:32772,“osReleaseId”:“centos”,“arch”:“x86_64”,“webUiAccessToken”:“sshAuthSock”:“}
[11:58:59.741]正在启动转发服务器。本地端口61674->socksPort 61671->远程端口32772
[11:58:59.742]转发服务器正在侦听61674
[11:58:59.742]等待ssh隧道就绪
[11:58:59.750][转发服务器61674]已连接到0
[11:58:59.755]通过隧道将远程端口32772连接到本地端口61674
[11:58:59.756]将“ssh远程+”解析为“127.0.0.1:61674”
[11:58:59.756]遥测:{“eventName”:“resolver”,“properties”:{“Output”:“success”,“osReleaseId”:“centos”,“arch”:“x86_64”,“askedPw”:“0”,“askedPassphrase”:“0”,“asked2fa”:“0”,“askedHostKey”:“0”,“RemoteInFigfile”:“1”,“GotUnrecognizedReport”:“0”},“度量”:{“resolveAttempts”:“1”,“retries”:1}
[11:58:59.756] ------
[11:58:59.784][转发服务器61674]获得连接1
[11:58:59.789][转发服务器61674]获得连接2
[12:01:59.722] > 
[12:04:59.733] > 
[12:07:59.744] > 
下面是安装终端上的输出。在这个输出的末尾,有一个小条移动得很慢,就像进度条一样

6c2c07692b2a: running
Acquiring lock on /users/<myuserid>/.vscode-server/bin/<commitid>/vscode-remote-lock.<commitid>
Found existing installation at /users/<myuserid>/.vscode-server/bin/<commitid>...
Found running server...

*
* Reminder: You may only use this software with Visual Studio family products,
* as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
*

Checking server status on port 32772 with wget
6c2c07692b2a: start
sshAuthSock====
agentPort==32772==
webViewServerPort====
osReleaseId==centos==
arch==x86_64==
webUiAccessToken====
6c2c07692b2a: end
6c2c07692b2a:正在运行
正在获取/users//.vscode服务器/bin//vscode远程锁上的锁。
在/users/.vscode服务器/bin/找到现有安装。。。
找到正在运行的服务器。。。
*
*提醒:您只能将此软件用于Visual Studio系列产品,
*如许可证中所述(https://go.microsoft.com/fwlink/?linkid=2077057)
*
正在使用wget检查端口32772上的服务器状态
6c2c07692b2a:启动
沙斯索克====
代理端口==32772==
webViewServerPort====
osReleaseId==centos==
arch==x86_64==
webUiAccessToken====
6c2c07692b2a:结束

我没有看到任何试图在您发布的内容中安装内容的内容。如果您指的是“已接收的安装输出”部分,它会报告在该点之前该部分中响应wget请求得到的结果。@KenWhite我刚刚添加了安装终端的输出。它的末端有一个条,像进度条一样缓慢移动。这就是促使我认为它正在尝试安装的原因,因为它在安装终端中,并且有一个进度条。