# VS Code Remote SSH 在炼境服务器面板中一键用 VS Code 通过 Remote SSH 连接到指定服务器,复用 SSH Config 中已同步的 Host alias。 ## 决策记录 - 依赖 ssh-config-sync 保证 Host alias 已写入 `~/.ssh/config`,不在本模块重复维护连接参数 - 直接调用 `code --remote ssh-remote+ /path` 命令,复用 shell-launch 模块的进程启动能力 ## 任务卡 ### ✅ VS Code Remote SSH 一键连接 - status: done - complexity: S - files: src-tauri/src/commands/ssh_config.rs, src/components/dashboard/ServerManagerPanel.tsx - depends: ssh-config-sync, shell-launch - acceptance: 服务器列表每行有「VS Code」按钮;点击后 VS Code 打开并以 Remote SSH 连接对应服务器;SSH Config 未同步时给出提示