Speed-up X over ssh

Submit to reddit

Even though I run a pretty fast network and vpn at home I still have the occasional hiccup running demanding applications (i.e. digikam) at home.

A few simple options can speed up X considerably. Connecting with the following parametters will enable a fast encryption cipher and also enables compression:
ssh -X -C -c blowfish-cbc,arcfour user@host.example.com
Of course you can make this permanent by adding the following to /etc/ssh/ssh_config (might be different on your distro):

1
2
3
4
5
6
Cipher blowfish
# default line
##Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
## see man page for more info on Ciphers
Ciphers blowfish-cbc,aes128-cbc,3des-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
Compression yes