title: How to disable weak SSH cipher in CentOS 7
body: <p>I am running CentOS 7.9 (server edition)</p>
  <p>I have been searching online for some help on how to disable weak ssh cypher. However, I do not seem to be able to fix the issue. Qualys scans keeps reporting weak cipher in ssh service. I followed some recommendations (i.e: <a href="https://www.thegeekdiary.com/how-to-disable-weak-cipher-and-insecure-hmac-algorithms-in-ssh-services-for-centos-rhel-6-and-7/" rel="nofollow noreferrer">https://www.thegeekdiary.com/how-to-disable-weak-cipher-and-insecure-hmac-algorithms-in-ssh-services-for-centos-rhel-6-and-7/</a>) online without any luck.</p>
  <p>Here is what my /etc/ssh/sshd_config looks like</p>
  <pre><code>
  # Addresses Qualys QID 38739 Deprecated SSH Cryptographic Settings (CentOS 6)
  ## Changed this line:
  ##ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,cast128-cbc,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se
  ## to this line:
  ciphers aes128-ctr,aes192-ctr,aes256-ctr
  </code></pre>
  <p>Thank you for your help.</p>