3

I would like to use the arcfour cipher when mounting a drive using sshfs. However, if i specify sshfs -o Ciphers=arcfour my virtual machine resets the connection (I am able to sshfs without this option). Any way to make this work? I am doing this so that sshfs performs faster (I also have compression off).

rvs
  • 4,125
  • 1
  • 27
  • 31
Alex
  • 145
  • 4

1 Answers1

6

The arcfour cipher is no longer supported in modern SSH servers because it is considered insecure. You may want to try aes128-ctr or chacha20-poly1305@openssh.com.

RalfFriedl
  • 3,108
  • 4
  • 13
  • 17
  • ahh i see; are those faster than whatever the default cipher is? – Alex Aug 01 '18 at 21:08
  • You should try it yourself, I've seen different results, it may depend on hardware and library versions. – RalfFriedl Aug 01 '18 at 21:19
  • great, thx. can't upvote your answer due to rep < 15 unfortunately – Alex Aug 01 '18 at 21:20
  • 1
    Maybe worth noting, "arcfour" is RC4 by a different (non-trademarked) name. – Håkan Lindqvist Aug 11 '18 at 15:23
  • According to this link: https://blog.famzah.net/2010/06/11/openssh-ciphers-performance-benchmark/ `aes128-cbc` is faster. But in my tests, without any parameter is faster than specify this. – Felipe Jun 16 '22 at 08:43