System information

Command Line Interface
4-32
ip ssh server
Use this command to enable the Secure Shell (SSH) server on this switch. Use the
no form to disable this service.
Syntax
[no] ip ssh server
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
The SSH server supports up to four client sessions. The maximum number
of client sessions includes both current Telnet sessions and SSH sessions.
The SSH server uses DSA or RSA for key exchange when the client first
establishes a connection with the switch, and then negotiates with the client
to select either DES (56-bit) or 3DES (168-bit) for data encryption.
You must generate the host key before enabling the SSH server.
Example
Related Commands
Event Logging Commands (4-35)
Command Function Mode Page
ip ssh server Enables the SSH server on the switch GC 4-32
ip ssh timeout Specifies the authentication timeout for the SSH server GC 4-35
ip ssh
authentication-retries
Specifies the number of retries allowed by a client GC 4-33
disconnect ssh Terminates an SSH connection PE 4-34
show ip ssh Displays the status of the SSH server and the configured values
for authentication timeout and retries
PE 4-34
show ssh Displays the status of current SSH sessions PE 4-35
show users Shows SSH users, including privilege level and public key type PE 4-55
Console#ip ssh crypto host-key generate dsa
Console#configure
Console(config)#ip ssh server
Console(config)#