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

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

相关推荐
七维大脑13 小时前
【开源自荐】7Shell:跨平台 SSH 运维客户端,把终端、SFTP、容器和 K8s 放进一个窗口
ssh·运维工具·开源工具·开源ssh
布莱克60514 小时前
Swift 字符串详解:从基础用法到性能与最佳实践
服务器·开发语言·ssh·字符串·swift
布莱克6052 天前
Swift 条件语句详解:从 if 到 switch 的完整指南
开发语言·ssh·swift·switch·条件语句·guard·if
2601_967980112 天前
世界上最好的Python编辑器是什么?我投PyCharm一票
ide·python·pycharm·数据科学·jupyter notebook
程序开发阿元3 天前
密码不进工具:一个独立开发者的服务器凭据管理办法
linux·ssh
布莱克6053 天前
Swift 常量详解:从 let 到编译期优化
服务器·开发语言·ssh·swift·常量·let
布莱克6053 天前
Swift 可选类型(Optionals)详解:从原理到实战
开发语言·安全·ssh·swift·optional·可选类型
时间售卖铺4 天前
Chrony与SSH实战:精准时间同步与安全远程登录
运维·安全·云原生·ssh
拼图2094 天前
VSCode 正则表达式使用指南
ide·vscode·正则表达式