PurposeCommand or Action
(Optional) Configures SSH control variables on your
device.
ip ssh [time-out seconds | authentication-retries
integer]
Example:
cisco7200(config)# ip ssh time-out 120
Step 6
(Optional) Specifies the version of SSH to be run on your
device.
ip ssh version [1 | 2]
Example:
cisco7200(config)# ip ssh version 1
Step 7
Exits global configuration mode and enters privileged
EXEC mode.
exit
Example:
cisco7200(config)# exit
Step 8
•
Use no hostname command to return to the default
host.
Configuring a Device for SSH Version 2 Using RSA Key Pairs
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip ssh rsa keypair-name keypair-name
4.
crypto key generate rsa usage-keys label key-label modulus modulus-size
5.
ip ssh [time-out seconds | authentication-retries integer]
6.
ip ssh version 2
7.
exit
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode.enable
Step 1
Example:
Device> enable
•
Enter your password if prompted.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1094
How to Configure Secure Shell Version 2 Support