SSH Commands 1557
User Guidelines
This command has no user guidelines.
Example
The following example displays the SSH server configuration.
console#show ip ssh
SSH server enabled. Port: 22
RSA key was generated.
DSA key was generated.
SSH Public Key Authentication is enabled.
Active incoming sessions:
IP Address User Name Idle Time SessionTime
------------- -------------------- -------------- --------------
10.240.1.122 John 00:00:00 00:00:08
user-key
Use the user-key command in SSH Public Key Chain Configuration mode to
specify which SSH public key you are configuring manually. 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. (Range: 1–48
characters)
rsa
— RSA key
dsa
— DSA key
Default Configuration
By default, there are no keys.
Command Mode
SSH Public Key Chain Configuration mode
2CSPC4.XCT-SWUM2XX1.book Page 1557 Monday, October 3, 2011 11:05 AM