Speed up SSH X11 forwarding

Posted June 1st @ 9:50 by Werner

I use an Ubuntu server as a work-horse for my calculations and connect from my desktop-pc with ssh to the server. For some applications (gnuplot =) this is really slow altough it’s over LAN. I found on the internet some instructions to improve this situation: instead of the AES cipher the arcfour and blowfish ciphers perform much better and switching on compression also doesn’t hurt. Therefore one should use

ssh -c arcfour,blowfish-cbc -XC host.com

to connect to with ssh. And guess what? This really improves the situation, especially for gnuplot. Thanks Samat!

3 Trackbacks/Pingbacks

  1. Pingback: Multiple terminals in a single SSH session « IdNotFound’s Little Internet Corner on January 14, 2008
  2. Pingback: Speed up SSH X 11 Forwarding « Usenet, Linux & Technology on September 16, 2011
  3. Pingback: X11 Forwarding提速 | 木哈哈 on January 13, 2012

13 Comments

  1. Arun
    July 16, 2007 at 20:33

    That’s a useful tip. Thanks!

  2. pm
    July 26, 2007 at 14:50

    This is much faster as you say. Very nice. Thanks for writing about it.

  3. Nepto
    August 2, 2008 at 22:39

    Really useful tip. It speeds up 100 times!

  4. Nicolas
    July 16, 2009 at 01:33

    it works great!!!

  5. rony
    August 7, 2009 at 09:46

    Amazing, thanks for the tip!

  6. Eliot
    September 13, 2009 at 15:16

    This does indeed speed up X11 forwarding, even when tunneling over the internet!

  7. Besworks
    September 18, 2009 at 20:36

    This tip made a huge difference. Now I can use the vmware server console on my mac. Without this it was unusably slow.

  8. Martijn
    July 26, 2010 at 10:40

    Indeed, it speeds up X-11 forwarding over my 4Mbit internet connection. Now my remote apps are actually usable!

  9. jonny rocket
    October 29, 2010 at 04:37

    thanks for the info dude.

  10. Arul
    July 10, 2011 at 17:47

    Now my SSH X11 forwarding is really usable!. Thank you for the tip.

  11. Ian Crew
    October 8, 2012 at 22:24

    Incredibly useful! Thanks very much. That sped up my X11 connections to a server upstairs from painful to quite usable, even over our 100-Mbit LAN.

  12. Duncan Bayne
    January 4, 2013 at 01:59

    Thank you :-) I was having performance issues with X forwarding using a Vagrant VM, and this fixed it nicely.

  13. Anonymous
    March 5, 2013 at 19:01

    This is such a time-saver. Will you marry me? :))))

Leave a comment

OpenID Login

Standard Login

 

Options:

Size

Colors