Generate an RSA Host Key

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Generate a new RSA host key:

    ssh rsa-host-key [<1024–2048>]

Variable Definitions

The following table defines parameters for the ssh rsa-host-key command.

Variable Value
<1024–2048>

Specify an optional key size from 1024 to 2048. The default is 2048.