This procedure is only required if you are configuring the Switch as an SSH server.Note
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip ssh version [1 | 2]
4.
ip ssh {timeout seconds | authentication-retries number}
5.
Use one or both of the following:
•
line vtyline_number[ ending_line_number ]
•
transport input ssh
6.
end
7.
show running-config
8.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
(Optional) Configures the Switch to run SSH Version 1 or SSH Version
2.
ip ssh version [1 | 2]
Example:
Switch(config)# ip ssh version 1
Step 3
• 1—Configure the Switch to run SSH Version 1.
• 2—Configure the Switch to run SSH Version 2.
If you do not enter this command or do not specify a keyword, the SSH
server selects the latest SSH version supported by the SSH client. For
example, if the SSH client supports SSHv1 and SSHv2, the SSH server
selects SSHv2.
Configures the SSH control parameters:
ip ssh {timeout seconds |
authentication-retries number}
Step 4
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
OL-29048-01 119
Configuring Secure Shell (SSH)
Configuring the SSH Server