up vote 2 down vote favorite
share [g+] share [fb]

I am a very frequent user of sshfs for mounting various disks over the network. I do however have a very small machine (with an atom processor) from which I need to mount a directory using sshfs.

Is it possible to disable all compression, and perhaps even also encryption when mounting using sshfs, as to limit the cpu usage on the machine from which the directory is mounted?

link|improve this question

70% accept rate
You are dropping encryption and compression... let me think. Why don't you use FTP or SMB? – lajuette Oct 9 '10 at 7:19
feedback

3 Answers

up vote 3 down vote accepted

although the high performance ssh adds a none cipher, the arcfour cipher is nearly as fast and is included standard use -o Ciphers=arcfour

i've been using this over the local network and i get about 85% of 100Mbps ethernet or about 10.625MB/s

(in response vava's answer, sshfs would still be what it is even when ssh's encryption is off as the authentication protocol would still be active without which you might as well be using telnet)

link|improve this answer
feedback

There is no way to disable encryption - this is ssh after all. And it looks like compression is disabled by default as you have to request it with the -C switch.

But you may want to check your ~/.ssh/config file for settings regarding compression. If you add the following lines at the top of that file, compression should be disabled:

Host *
    Compression no
link|improve this answer
feedback

You can mount with -o compression=no to turn the compression off. It is not possible to turn encryption off, wouldn't be sshfs after that :) If it is slow I suggest to use other way to mount a directory, like through samba, nfs or ftp.

link|improve this answer
NFS would be a good choice – Nerdling Aug 31 '09 at 13:00
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.