Configure the Key-Exchange Method

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Configure the key-exchange to use:

    ssh key-exchange-method {[diffie-hellman-group14-sha1] [diffie-hellman-group-exchange-sha256]}

Variable Definitions

The following table defines parameters for the ssh key-exchange-method command.

Variable Value

[diffie-hellman-group14-sha1][diffie-hellman-group-exchange-sha256]

Configures the key-exchange method. Select a key-exchange method from one of the following:
  • diffie-hellman-group14-sha1
  • diffie-hellman-group-exchange-sha256