JiaNa

如何修改 VSCode SSH 客户端?

  •  
  •   JiaNa · Dec 27, 2023 · 2919 views
    This topic created in 1066 days ago, the information mentioned may be changed or developed.

    我想将默认的客户端改为 Mosh , 以下步骤后还是没有使用 Mosh:

    1. Open VSCode settings by pressing F1
    2. Search for remote.SSH.path and set the path to the mosh executable
    3. Search and apply Kill VS Code Server on Host
    4. 重启 VSCode
    2 replies  •  2023-12-27 10:47:02 +08:00
    nonevs
    nonevs
    Dec 27, 2023
    2
    楼上发的挺对的,mosh 要求服务器上运行 moshserver 并且暴露特定端口,跟 vscode 的 remote 差别挺大的。我的解决方案是用 tailscale 将服务器和笔记本组网,ssh config 上的 ip 都写 tailscale 的内网 ip ,下班 macbook 直接合盖回家,到家有时候不用重连服务器
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4879 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 02:49 · PVG 10:49 · LAX 18:49 · JFK 21:49
    ♥ Do have faith in what you're doing.