V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
formulahendry
V2EX  ›  Visual Studio Code

VS Code 发布了 Remote Tunnels! VS Code Server 也是公开预览版了

  •  
  •   formulahendry ·
    formulahendry · 2022-12-08 10:56:11 +08:00 · 4799 次点击
    这是一个创建于 476 天前的主题,其中的信息可能已经有所发展或是发生改变。
    14 条回复    2022-12-08 17:21:15 +08:00
    ClarkAbe
        1
    ClarkAbe  
       2022-12-08 11:08:57 +08:00 via Android   ❤️ 1
    您是叫王婆嘛...建议发推广
    janxin
        2
    janxin  
       2022-12-08 11:16:14 +08:00
    OP 是去微软 VSCode 组了吗
    formulahendry
        3
    formulahendry  
    OP
       2022-12-08 11:24:07 +08:00
    @janxin 木有哈~ 一直在上海板砖呢
    frinstioAKL
        4
    frinstioAKL  
       2022-12-08 13:09:11 +08:00 via iPhone
    这个功能真滴好
    a382677029
        5
    a382677029  
       2022-12-08 14:41:35 +08:00 via iPhone
    Hanjun 大佬?🤣
    fengjianxinghun
        6
    fengjianxinghun  
       2022-12-08 14:42:13 +08:00
    Remote Tunnels 是不是导致 github 被 DNS 污染的新原因?看功能好像 github 帮你做的隧道?
    linuxgo
        7
    linuxgo  
       2022-12-08 15:22:54 +08:00
    Remote Tunnels 有什么用
    byte10
        8
    byte10  
       2022-12-08 15:28:19 +08:00
    @linuxgo 玩了一下,实际上 remote ssh 比较好一些。

    https://code.visualstudio.com/blogs/2022/07/07/vscode-server ,1 、它是要先在远程服务器先安装一个 code-server ,然后启动 code-server 2 、然后会提示你使用 github 进行登录授权之类的。3 、然后你就可以在任意 web 打开这个远程服务器进行开发,也可以使用 vscode 端进行开发。
    oxromantic
        9
    oxromantic  
       2022-12-08 15:39:04 +08:00
    能介绍下和 remote-ssh 的差别么。。没看明白有 remote ssh 的前提下为啥又造了个轮子 /Dog
    swulling
        10
    swulling  
       2022-12-08 15:43:39 +08:00 via iPhone
    @oxromantic 有的环境下 ssh 不方便,比如被控节点在 nat 后面无法直接连通。
    fengjianxinghun
        11
    fengjianxinghun  
       2022-12-08 15:46:19 +08:00
    @fengjianxinghun 这里口误,vscode.dev 帮你做隧道
    BloodBlade
        12
    BloodBlade  
       2022-12-08 16:21:49 +08:00
    原本用 code-server serve-local 可以直接监听本地端口在局域网访问的模式好像不在了?
    linuxgo
        13
    linuxgo  
       2022-12-08 17:11:47 +08:00
    code server 我用过,就是在远程服务器上安装一个 code 服务端,通过 code remote 可以连接进去在服务端调试代码。但是 code Tunnels ,看了下介绍
    The Remote - Tunnels extension lets you connect to a remote machine, like a desktop PC or virtual machine (VM), via a secure tunnel. You can then securely connect to that machine from anywhere, without the requirement of SSH.
    说是不需要 ssh 的远程连接,看来又是个新玩具
    Alias4ck
        14
    Alias4ck  
       2022-12-08 17:21:15 +08:00
    这个我之前在我的服务器上开过 之前是申请试用 它使用的好像是微软的服务器 做 rpc 通信 所以国内好像连接不是很顺畅 经常会超时
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5497 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 08:26 · PVG 16:26 · LAX 01:26 · JFK 04:26
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.