Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to be able to specify in my .ssh/config file that ssh uses protocol 2 (command line argument -2), and which ciphers to use with it.

The following does not seem to work (I get bad configuration option: Cyphers)

Host XXX
    HostName YYYY
    User ZZZZ
    Compression no
    Cyphers arcfour,blowfish-cbc
    ControlPath ~/.ssh/%r@%h:%p
    IdentityFile ~/.ssh/seas/id_rsa

Also, how do I know which version of ssh (or OpenSSH) I am using? which ssh or man ssh does not reveal much information.

share|improve this question
Reread your post. You spell ciphers two different ways. Hint: the spelling you used in the config file is incorrect. The manpage you are looking for is man ssh_config. – jordanm Oct 12 '12 at 16:34
Thanks @jordanm . I feel dumb. man ssh_config was helpful though ( I was looking at man ssh) – Amelio Vazquez-Reina Oct 12 '12 at 17:19
up vote 3 down vote accepted
  • Cyphers should be typed Ciphers
  • To specify a protocol use the syntax: Protocol X where X can 1 or 2 (2 is the default)

Try man ssh_config

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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