Your browser does not allow storing cookies. We recommend enabling them.

SSH

Configuring KEXs

The key exchange (KEX) algorithm(s) used for key exchange can be selected in the sshd2_config file. Multiple KEXs can be specified as a comma-separated list.

KEXs     diffie-hellman-group14-sha1,diffie-hellman-group14-sha224@ssh.com

The supported KEX algorithms are the following:

diffie-hellman-group14-sha1diffie-hellman-group16-sha384@ssh.com
diffie-hellman-group1-sha1diffie-hellman-group16-sha512@ssh.com
diffie-hellman-group14-sha224@ssh.comdiffie-hellman-group18-sha512@ssh.com
diffie-hellman-group14-sha256@ssh.comecdh-sha2-nistp256
diffie-hellman-group15-sha256@ssh.comecdh-sha2-nistp384
diffie-hellman-group15-sha384@ssh.comecdh-sha2-nistp521

Special values for this option are the following:

  • Any: includes all supported KEX algorithms.

  • AnyStd: includes the following KEXs from the IETF SSH standards: ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group14-sha1, and diffie-hellman-group1-sha1.

  • AnyKEX: the same as Any.

  • AnyStdKEX: the same as AnyStd.

The default KEX algorithms are: ecdh-sha2-nistp521, ecdh-sha2-nistp384, ecdh-sha2-nistp256, diffie-hellman-group14-sha1, diffie-hellman-group14-sha256@ssh.com.


 

 
Highlights from the SSH.COM blog:

  • Cryptomining with the SSH protocol: what big enterprises need to know about it

    Cryptomining malware is primarily thought of as targeting desktops and laptops and is used to hijack system resources to mine cryptocurrency.
    Read more
  • SLAM the door shut on traditional privileged access management

    Did you know that something as trivial-sounding as granting access for your developers or third parties to a product development environment can throw a gorilla-sized monkey wrench into your operations and productivity?
    Read more
  • We broke the IT security perimeter

    Everyone understands the concept of a security perimeter. You only gain access if you are identified and authorized to do so.
    Read more