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版本

回退一个版本试一下,切换预发布版本重新下载,解决问题

相关推荐
不是万能的豆学长7 小时前
OpenShell项目引爆GitHub趋势
ssh·github
golang学习记9 小时前
VS Code Agents新特性:标签页式工作区选择器
vscode
1024奇点11 小时前
【仓颉语言入门 · 第二篇 第 15 课】
开发语言·数据库·ide·开源
指剑15 小时前
亚麻云之EC2——安全组与密钥对:SSH 端口怎么开才安全,Permission denied (publickey) 和连接超时排查
java·安全·ssh
风别鹤1 天前
Xcode pod ‘xxx/xxx.h‘ file not found
ide·macos·xcode
杜哥无敌1 天前
连接服务器干活的终端 / SSH 客户端工具大 PK
ssh·1024程序员节·云主机
golang学习记2 天前
VS Code Agents 新快捷键:一键穿梭主编辑器与Agent窗口
vscode·编辑器
Linux_cy2 天前
服务器管理工具哪个好用?我用了七八个
运维·服务器·javascript·python·ssh·面板·gmssh
网络小江2 天前
组网第21课:初登交换机——管理平面三板斧
平面·ssh·console·华为交换机
帷幕落秋2 天前
SSH远程管理服务
运维·ssh