crypto key generate

Syntax

crypto key generate <cert[rsa]
<keysize>|[ssh][dsa|rsa]bits <keysize>>

Description

Installs authentication files for ssh or https server.

Options

cert

Install RSA key for https certificate.

Use your SSL enabled browser to access the switch using the switch IP address or DNS name (if allowed by your browser). See the documentation provided with the browser application for more information.

ssh [dsa|rsa]

Install host key for ssh server. Specify the key type as DSA or RSA.

bits <keysize>

Specify the key size (in bits).

The crypto key generate ssh command allows you to specify the type and length of the generated host key.

If <keysize> is not specified, the default value is used.