Rsync Encryption

前端 未结 2 757
闹比i
闹比i 2021-02-02 07:30

I know that rsync can enable / disable the ssh encryption protocol during the file transfer. So, if the ssh encryption protocol has been disabled, does it mean that rsync does n

相关标签:
2条回答
  • 2021-02-02 07:58

    rsync performs no encryption on its own. If you don't use ssh, nor do you tunnel the rsync traffic through stunnel or some kind of VPN, then no encryption is performed. Yes, you can save some CPU cycles this way.

    0 讨论(0)
  • 2021-02-02 08:09

    If you use the rsync:// protocol scheme (i.e. when you connect to a rsyncd daemon) then no encryption will be used (although password authentication is done using a MD4-based challenge-response system and is probably still reasonably secure).

    If you use the hostname:/some/path scheme then rsync transparently calls SSH, which encrypts everything, and uses SSH's native authentication mechanisms. As far as I can tell, some OpenSSH versions supported an option Ciphers null in the configuration file, but this has been removed in later versions.

    Generally you shouldn't worry about encryption overhead, unless you are working in a 1 Gbit network or you have old computers.

    0 讨论(0)
提交回复
热议问题