DGS-6604
ip ssh
CLI Reference Guide
322
Examples
This example shows how to enable the SSH service.
This example shows how to set the SSH timeout to 160 seconds.
This example shows how to set the number of SSH authentication-retries to 2.
The connection will be failed when the number of authentication retries reaches 2
tries without success.
This example shows how to change the service-port to 3000. The SSH client
must connect using this service port number.
Verify the settings by entering the
show ip ssh
command.
Switch# configure terminal
Switch(config)# ip ssh
Switch# configure terminal
Switch(config)# ip ssh timeout 160
Switch# configure terminal
Switch(config)# ip ssh authentication-retries 2
Switch# configure terminal
Switch(config)# ip ssh service-port 3000