VS代码不断重新连接到远程ssh

时间:2020-11-07 08:01:29

标签: visual-studio-code ssh

问题:VS代码使ssh与远程计算机保持断开/重新连接状态。 输入密码后,它会立即再次返回并提示密码。 日志表明vs代码服务器失败。 我可以在远程计算机上查看任何vs代码服务器日志吗?

详细信息:VS代码1.4.5版/ Windows 10;

远程:Macbook Air(高山脉)

日志如下:

   [09:49:41.088] > Password:
   [09:49:41.088] Showing password prompt
   [09:49:45.455] Got password response
   [09:49:45.456] "install" wrote data to terminal: "********"
   [09:49:45.889] > 028771948a23: running
   [09:49:45.922] > Acquiring lock on /Users/user/.vscode-server/bin/5763d909d5f12fe19f215cbfdd
    > 29a91c0fa9208a/vscode-remote-lock.user.5763d909d5f12fe19f215cbfdd29a91c0fa9
   > 208a
   > \ln /Users/user/.vscode-server/bin/5763d909d5f12fe19f215cbfdd29a91c0fa9208a
   > /vscode-remote-lock.user.5763d909d5f12fe19f215cbfdd29a91c0fa9208a.target /U
   > sers/user/.vscode-server/bin/5763d909d5f12fe19f215cbfdd29a91c0fa9208a/vscod
   > e-remote-lock.user.5763d909d5f12fe19f215cbfdd29a91c0fa9208a
   > 
   [09:49:45.943] > Found existing installation at /Users/user/.vscode-server/bin/5763d909d5f12
   > fe19f215cbfdd29a91c0fa9208a...
   > 
   [09:49:46.017] > Found running server...

   [09:49:46.050] > Checking server status on port 58236 with curl
   > 
   [09:49:46.083] > 000
    > 028771948a23##28##
   > 
   [09:49:46.083] Received install output: 028771948a23##28##
   [09:49:46.083] Server status check failed - waiting and retrying
   [09:49:46.364] "install" terminal command done
   [09:49:46.364] Install terminal quit with output: 
   [09:49:47.091] Running script with connection command: "C:\Program Files\Git\usr\bin\ssh.exe" -T -D 
   55978 10.0.0.134 bash
   [09:49:47.092] Terminal shell path: C:\Windows\System32\cmd.exe
   [09:49:47.275] > 
   [09:49:47.281] Got some output, clearing connection timeout
   [09:49:50.747] > Password:
   [09:49:50.748] Showing password prompt

0 个答案:

没有答案
相关问题