VSCode远程连接服务器报错:Could not establish connection to
作者:池塘怪谈 时间:2023-10-03 03:02:17
假设你已经做好了如下配置和尝试
在Extensions中安装好了Remote -SSH
添加了你要访问的服务器ip地址等信息,并拥有了一个config文件(如下图)
请记住这个config文件的路径,一般为“C:\Users\user_name\.ssh\config”
于是你开始尝试连接服务器,选择了最上方下拉菜单中的Linux/Windows之后,不幸失败了
报错信息:
出现Could not establish connection to “xxx”的报错弹窗后,查看下方报错信息,若报错信息中含有:
解决方法:
左侧栏打开Extentions,找到已经安装好的Remote -SSH,右键点击,选择“Extension Settings”
在Config File中输入刚才的config文件路径
重新尝试连接,发现成功了
来源:https://blog.csdn.net/weixin_44125656/article/details/119395901
标签:VSCode,远程连接,报错
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Python+Pygame实现代码雨动画效果
2023-12-03 18:43:57
![](https://img.aspxhome.com/file/2023/2/94092_0s.png)
OpenCV3.3+Python3.6实现图片高斯模糊
2023-12-29 23:09:48
![](https://img.aspxhome.com/file/2023/8/124418_0s.jpg)
Python机器学习NLP自然语言处理基本操作之Seq2seq的用法
2023-04-03 03:08:54
![](https://img.aspxhome.com/file/2023/9/105639_0s.gif)
python使用xauth方式登录饭否网然后发消息
2021-04-18 08:11:54
python3 中时间戳、时间、日期的转换和加减操作
2023-12-31 17:41:36
mysql_connect(): Connection using old (pre-4.1.1) authentication protocol refused
2024-01-23 08:22:11
JS实现用户管理系统
2023-08-29 04:51:20
![](https://img.aspxhome.com/file/2023/0/56260_0s.jpg)
Python代码部署的三种加密方案
2022-03-22 02:24:40
![](https://img.aspxhome.com/file/2023/7/95557_0s.jpg)
pycharm远程连接vagrant虚拟机中mariadb数据库
2024-01-13 19:11:33
![](https://img.aspxhome.com/file/2023/2/134692_0s.png)
Golang实现单元测试中的接口层
2024-04-26 17:17:29
Python scrapy爬取起点中文网小说榜单
2022-11-06 14:34:11
![](https://img.aspxhome.com/file/2023/6/111916_0s.png)
自动备份Oracle数据库
2010-07-31 13:10:00
python解析xml文件操作实例
2022-01-02 10:39:13
Oracle 数组的学习 小知识也要积累,养成好的学习态度
2024-01-27 21:15:25
php中Ctype函数用法详解
2023-06-19 01:43:13
asp sql去左右空格函数
2008-03-04 17:29:00
python使用正则表达式替换匹配成功的组
2021-12-13 07:22:03
Keras loss函数剖析
2021-01-24 05:25:27
Python快速转换numpy数组中Nan和Inf的方法实例说明
2021-11-12 06:24:03
基于循环神经网络(RNN)实现影评情感分类
2021-11-27 16:42:10