Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Remote SSH File ClipboardNew to Visual Studio Code? Get it now.
Remote SSH File Clipboard

Remote SSH File Clipboard

Ethan. Z

|
1 install
| (0) | Free
Copy remote files in VS Code and paste them directly into Windows File Explorer. 在 VS Code 里复制远端文件,直接粘贴到 Windows 文件夹。
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Remote SSH File Clipboard

简体中文

从 VS Code 的 Remote - SSH 文件树复制远端文件,然后直接粘贴到 Windows 文件夹。你可以用同一套 Ctrl+C 和 Ctrl+V 操作处理单个文件或批量文件,全程无需打开保存窗口。

安装与使用

  1. 在 Windows 本机的 VS Code 扩展面板安装 Remote SSH File Clipboard。
  2. 连接 Remote - SSH,在左侧文件树选中一个或多个文件,按 Ctrl+C。
  3. 状态栏显示「文件已复制」后,在 Windows 资源管理器的目标文件夹按 Ctrl+V。

适用范围

  • 需要 Windows 桌面版 VS Code 1.127.0 或更高版本,以及可用的 Remote - SSH 会话。
  • 支持多选、二进制文件和中文文件名。复制读取远端已经保存的版本。
  • 快捷键只在 Remote - SSH 文件树中聚焦文件时生效。编辑器文字和文件夹继续使用 VS Code 原有的复制操作。
  • 如果你曾把 Ctrl+C 自定义绑定到 explorer.download,请移除该绑定,让扩展的快捷键生效。

文件如何传输

扩展通过当前 Remote - SSH 会话将选中的文件下载到本机缓存,再写入 Windows 文件剪贴板。一次新复制成功后,扩展会清理超过七天的旧批次。

English

Copy remote files from the Remote - SSH Explorer in VS Code and paste them directly into a Windows folder. Use Ctrl+C and Ctrl+V for one file or a batch, without opening a Save dialog.

Install and use

  1. Install Remote SSH File Clipboard from the Extensions view in VS Code on Windows.
  2. Connect with Remote - SSH, select one or more files in the Explorer sidebar, and press Ctrl+C.
  3. When the status bar says the files are ready to paste, press Ctrl+V in the destination folder in Windows File Explorer.

Requirements and behavior

  • Requires VS Code desktop 1.127.0 or later on Windows and an active Remote - SSH session.
  • Supports multiple files, binary files, and Chinese filenames. It copies the saved version of each remote file.
  • The shortcut applies when a file has focus in the Remote - SSH Explorer. Text in the editor and folders use VS Code's regular copy behavior.
  • If you assigned Ctrl+C to explorer.download, remove that custom binding so the extension's shortcut can take effect.

How files are transferred

The extension uses the active Remote - SSH session to download the selected files to a local cache, then places them on the Windows file clipboard. After a new copy succeeds, the extension removes older batches that have been cached for more than seven days.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft