Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Speeding up rsync: How do I get arcfour to work with SSH?

Featured Replies

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 by RasterEyes

  • 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

 

  • RasterEyes changed the title to Speeding up rsync: How do I get arcfour to work with SSH?

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.