Command Line Interface Guide

SSH Commands 1683
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode, Config mode and all Config sub-modes
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}
2CSPC4.X8100-SWUM100.book Page 1683 Wednesday, August 29, 2012 6:23 PM