15

Is the native rsync protocol (port 873) secure? Does it encrypt data or credentials?

I'm planning on using rsync to store encrypted files in the cloud, I'm wondering whatever the password is transferred in clear.

Thomas Pornin
  • 320,799
  • 57
  • 780
  • 949
Hubert Kario
  • 3,708
  • 3
  • 27
  • 34

1 Answers1

20

The native rsync protocol does not encrypt anything. It is meant only for trusted networks.

To use rsync in a secure way, use it with SSH (see the "-e" command-line option) or over a VPN.

Thomas Pornin
  • 320,799
  • 57
  • 780
  • 949