Rsync from Linux to Windows over Ssh

Rsync from Linux to Windows over Ssh

Right now, I'm using SCP to copy directories from a Linux Server to a Windows 10 box. I'd like to use something like rsync instead, since the directory is fairly big and only a couple files change.

I have powershell running as the default shell when I SSH into the Windows box, if that makes a difference.

2

1 Answer

I ended up installing cygwin, and made sure to also install the rsync package. Then, I modified my PATH environment variable to include cygwin's bin directory. I was then able to call rsync from powershell, to confirm the installation worked.

After that, I was able to successfully use rsync on my Linux machine to transfer files to the Windows machine.

5

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Maya Lin-Takahashi
Author

Maya Lin-Takahashi

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.