✅ 方法一:使用 scp
(推荐)
scp
是基于 SSH 的安全文件传输工具,适合从 Linux 拷贝文件到本地 Windows。
📌方式一
- 在 Windows 上安装 OpenSSH 客户端(Windows 10 1809+ 自带);
- 打开PowerShell 或 CMD;
scp username@linux_ip:/path/to/remote/file C:\path\to\local\
📌方式二
- 在 Windows 上安装 OpenSSH 服务端(Windows 10 1809+ 自带);
- 打开 Linux 终端;
Linux发送到Windows</