Restrictions for Configuring Secure Shell, on page 114
How to Configure SSH
Setting Up the Switch to Run SSH
Follow these steps to set up your Switch to run SSH:
Before You Begin
Configure user authentication for local or remote access. This step is required. For more information, see
Related Topics below.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
hostname hostname
4.
ip domain-name domain_name
5.
crypto key generate rsa
6.
end
7.
show running-config
8.
copy running-config startup-config
DETAILED STEPS
Purpose
Command 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
Configures a hostname and IP domain name for your Switch.
hostname hostname
Step 3
Example:
Switch(config)#
hostname your_hostname
Follow this procedure only if you are configuring the
Switch as an SSH server.
Note
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
OL-29048-01
117
Configuring Secure Shell (SSH)
How to Configure SSH