大网数据广告活动
服务器运维问答

Perform an automated scp on a Windows server

· 52CE 我爱测

I need to perform an automated scp (every two hours) from a Windows 2012 server to a Linux server. I know how to do it from a Linux server to another Linux server (ssh and cron). On Windows, what tool do I need? I know ssh is not…

问题原文

原帖链接 · user1260928 · CC BY-SA 3.0

I need to perform an automated scp (every two hours) from a Windows 2012 server to a Linux server. I know how to do it from a Linux server to another Linux server (ssh and cron).

On Windows, what tool do I need? I know ssh is not native on Windows so I would like to use a similar tool.

社区高分解答

原帖链接 · dr_ · CC BY-SA 3.0

You can install OpenSSH on the Windows 2012 server. Here's the relevant page on the WinSCP (the SCP client for Windows) website.

Once you've done that, simply set up a cron job from the Linux destination server to fetch the files from the Windows 2012 source server. (It's easier than the other way around, especially because you said you already know how to do that.)

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-02-14)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。