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

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

相关推荐
Dontla2 小时前
VSCode打开关闭控制台面板快捷键ctrl+`(terminal快捷键、vscode控制台快捷键)
ide·vscode·编辑器
徽京人14 小时前
VS Code 接入Esp 32步骤
vscode·单片机·嵌入式硬件
JTaoX18 小时前
pycharm 集成本地 jupyter notebook
ide·jupyter·pycharm
oushaojun21 天前
vscode中支持deepseek ai辅助编程
vscode·copilot·deepseek
江湖有缘1 天前
跨平台AI终端Wave:智能SSH与文件管理
运维·人工智能·ssh
AuTumn-L2 天前
使用 SSH 密钥认证实现安全免密登录
服务器·安全·ssh
李高钢2 天前
除了 IDE,C#/WPF 开发者每天离不开的 10 个工具
ide·c#·wpf
zhixingheyi_tian2 天前
Linux 之 ssh
linux·服务器·ssh
sunoo-2292 天前
C 语言文件 IO 全攻略:从基础函数到实战踩坑(BMP 读取 + 词典查询)
linux·c语言·前端·笔记·vscode·学习
草莓熊Lotso2 天前
【Linux网络加餐】手动部署:SSH 与 Web 服务实战 + 底层原理全解析
linux·运维·网络·人工智能·python·langchain·ssh