Server Fault is a question and answer site for system and network administrators. 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

Do you know how to reject SSH user connecting with weak crypto lik DES?


share|improve this question

Use the Protocol and Ciphers options for sshd to restrict the algorithms the client is allowed to use.

share|improve this answer
"Ciphers" has its own defaults. If clients don't meet my set ciphers, sshd reverts its defaults which are aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128, arcfour256,arcfour,aes192-cbc,aes256-cbc,aes128-ctr, aes192-ctr,aes256-ctr – jack Jul 20 '10 at 9:43

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.