CLI Commands
The following table summarizes the equivalent CLI commands for items in the Switch/Security/SSH page.
Command
ip ssh server
ip ssh {[timeout seconds] | [authentication-retries
integer]}
disconnect ssh connection_id
show ip ssh
show ssh
Example
Console(config)#ip ssh server
Console(config)#ip ssh timeout 100
Console(config)#ip ssh authentication-retries 5
Console(config)#
Console#show ip ssh
Information of secure shell
SSH status: enable
Usage
Enables the SSH server on the switch.
Use the no form to disable the SSH server.
Specifies the authentication timeout for the SSH server and the number of retries allowed by a client.
Use the no form to reset the values to the default.
Terminates an SSH connection. The connection_id is the session number displayed when using the
show ssh command.
Displays the status of the SSH server and the configured values for authentication timeout and
retries.
Displays the status of current SSH sessions.