欧卡2中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

需要三步,才能开始

只需两步,慢速开始

欧卡2入门方向盘选莱仕达V9莱仕达折叠便携游戏方向盘支架欢迎地图Mod入驻
查看: 108|回复: 0
收起左侧

[Linux] vscode remote ssh使用proxy

[复制链接]
知行 发表于 2024-8-25 21:16 | 显示全部楼层 |阅读模式

由于网络问题导致vscode server总是更新失败,可以考虑配置代理解决。

设置,搜索 proxy,切换到 Remote SSH,勾选

Remote.SSH: Use Curl And Wget Configuration Files
Respect configuration from remote environment's 'curlrc' and 'wgetrc' files (placed in their respective default locations). Enabling this setting may be useful in certain cases (i.e: proxy configuration) but can interfere with this extension's operation.

创建或编辑 ~/.wgetrc 文件,写入代理配置,例如:

use_proxy=yes
http_proxy=192.168.3.100:1080
https_proxy=192.168.3.100:1080
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系我们|手机版|欧卡2中国 ( 湘ICP备11020288号-1 )

GMT+8, 2024-9-17 04:37 , Processed in 0.047641 second(s), 10 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表