
296 SSH Commands
www.dell.com | support.dell.com
Example
The following example enables public key authentication for incoming SSH sessions.
crypto key pubkey-chain ssh
The
crypto key pubkey-chain ssh
Global Configuration mode 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
• Use this command to enter public key chain configuration mode.
• This command can also be used when you need to manually specify SSH client’s public keys.
Example
The following example enters the SSH Public Key-chain configuration mode.
user-key
The
user-key
SSH
Public Key Chain Configuration mode 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.
Console (config)# ip ssh pubkey-auth
Console(config)# crypto key pubkey-chain ssh
Console(config-pubkey-chain)#