October 13, 20232 yr In another thread I saw these suggestions for speeding up rsync transfers, based on changing the encryption used by SSH. Since I don't need a high level of security, and I'm much more interested in speed, I wanted to try using arcfour encryption, like this: rsync --rsh='ssh -T -c arcfour -o Compression=no -x' -PrltOuv... To enable arcfour on the receiving end, I modified /etc/ssh/ssh_config like this: Host * Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,arcfour,arcfour256,arcfour128 ...and restarted the SSH daemon like this: /etc/rc.d/rc.sshd stop /etc/rc.d/rc.sshd start (More complete that a one-step restart, and safe to do when using the web console, which won't disconnect.) If I can get this working, I'll worry later about the /boot/config/go changes needed so my modifications can survive a reboot. When I try to use rsync like this, I get this error: Unknown cipher type 'arcfour' rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: unexplained error (code 255) at io.c(231) [sender=3.2.7] What am I missing to get arcfour working? Are there also source-side ssh config changes needed? Edited October 13, 20232 yr by RasterEyes
October 13, 20232 yr Community Expert Can't really help specifically with arcfour, but I've used this before to make it use aes128, since it was faster/lower load with my CPUs: rsync -av -e "ssh -c [email protected]" $SOURCE $DESTINATION
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.