8 key-string, Default configuration, Command mode – PLANET WGSD-1022 User Manual

Page 281: User guidelines, Example, Syntax

Advertising
background image

ƒ username — Specifies the remote SSH client username, which can be up to 48 characters long.

ƒ rsa — RSA key.

ƒ dsa — DSA key.

Default Configuration

By default, there are no keys.

Command Mode

SSH Public Key Chain Configuration mode

User Guidelines

Follow this command with the key-string command to specify the key.

Example

The following example enables a SSH public key to be manually configured for the SSH public key chain

called "bob".

Console(config-pubkey-chain)# user-key bob

Console(config-pubkey-key)# key-string rsa

AAAAB3NzaC1yc2EAAAADAQABAAABAQCvTnRwPWl

5.22.8 key-string

The key-string SSH public key-string configuration command manually specifies a SSH public key.

Syntax

key-string text

ƒ text — Authentication string that must be sentand received in the packets, using the routing

protocol being authenticated. The string can contain from 1 to 16 uppercase and lowercase

alphanumeric characters.

Default Configuration

By default, the keys do not exist.

Command Mode

SSH Public Key-string configuration

User Guidelines

Use the key-string row command to specify the SSH public key row by row. Each row must begin with

the keystring row command. This command is useful for configuration files.

UU-encoded DER format is the same format in authorized_keys file used by OpenSSH.

Advertising