public-key

The public-key configuration element is used to generate an SSH public key to authenticate SSH sessions.

Parameters

name
Enter the name of the public key
type
Select the type of key you want to create.
  • Default: rsa
  • Values: rsa | dsa
size
Enter the size of the key you are creating.
  • Default: 1024
  • Values: 512 | 1024 | 2048

Path

public-keyis an element under the security path. The full path from the topmost ACLI prompt is: configure terminal > security > public-key

Note:

This is a multiple instance configuration element.