11. Getting the Best Performance Out of SSH


11.1. Cipher Speed

SSH and SCP accept command-line options to specify the cipher preferred in the connection. The default cipher depends on the SSH implementation, but is unlikely to be Blowfish --- this is likely to be faster (and a little less secure) than the default. To enable Blowfish for all your connections for OpenSSH your ~/.ssh/config file should read like this:

  Host *
    Cipher blowfish
or for the SSH Communications client, ~/.ssh2/ssh2_config:
  Host *
    Ciphers blowfish

11.2. Compression

SSH also facilitates the compression of network traffic. Whilst this takes up a few more CPU-cycles, it makes network connections over slow links like modem lines much faster:

  Host *
    Compression yes
    Cipher blowfish


...previousup (conts)next...



About this document:

Produced from the SGML: /home/isd/public_html/_cosmeric/_accessing_cosmos/_reml_grp/index.reml
On: 5/7/2004 at 13:45:40
Options: reml2 -i noindex -l long -o html -p multiple