本文主要是介绍VSCode连接SSH发生connection timeout,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
想用用实验室服务器连接vscode跑HM编码,今天突然连服务器连不到,报错:[13:47:13.068] Opening exec server for ssh-remote+a406-server-lan
[13:47:13.082] Initizing new exec server for ssh-remote+a406-server-lan
[13:47:13.089] Using commit id "fee1edb8d6d72a0ddff41e5f71a671c23ed924b9" and quality "stable" for server
[13:47:13.092] Install and start server if needed
[13:47:16.922] > ssh: connect to host 192.168.46.10 port 22: Connection timed out
> 过程试图写入的管道不存在。
> ]0;C:\Windows\System32\cmd.exe
[13:47:16.923] Got some output, clearing connection timeout
[13:47:18.229] "install" terminal command done
[13:47:18.230] Install terminal quit with output: ]0;C:\Windows\System32\cmd.exe
[13:47:29.237] getPlatformForHost was canceled
[13:47:29.238] Exec server for ssh-remote+a406-server-lan failed: Error: 已取消连接
[13:47:29.238] Error opening exec server for ssh-remote+a406-server-lan: Error: 已取消连接
解决方法:先检查密码和服务器用户名是否正确;回退SSH版本
回退一个版本试一下,切换预发布版本重新下载,解决问题
这篇关于VSCode连接SSH发生connection timeout的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!