Crypto Key Pubkey-Chain Ssh - Planet Networking & Communication WGSW-24010 User Manual

10/100/1000mbps 24-port + 1 mini-gbic managed gigabit ethernet switch
Hide thumbs Also See for WGSW-24010:
Table of Contents

Advertisement

Command Mode
Global Configuration mode
User Guidelines
AAA authentication is independent.
Example
The following example enables public key authentication for incoming SSH sessions.
Console (config)# ip ssh pubkey-auth

3.22.6 crypto key pubkey-chain ssh

The crypto key pubkey-chain ssh global configuration command enters SSH Public Key-chain configuration mode. The
mode is used to manually specify other device public keys such as SSH client public keys.
Syntax
crypto key pubkey-chain ssh
Default Configuration
By default, there are no keys.
Command Mode
Global Configuration mode
User Guidelines
There are no user guidelines for this command.
Example
The following example enters the SSH Public Key-chain configuration mode.
Console(config)# crypto key pubkey-chain ssh
Console(config-pubkey-chain)#
3.22.7 user-key
The user-key SSH public key chain configuration command specifies which SSH public key is manually configured and
enters the SSH public key-string configuration command. To remove a SSH public key, use the no form of this command.
Syntax
user-key username {rsa | dsa}
no user-key username
§
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
125

Advertisement

Table of Contents
loading

Table of Contents