Configuring Secure Shell (SSH)
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
Command or Action
Step 1
enable
Example:
Switch> enable
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
hostname hostname
Example:
Switch(config)# hostname your_hostname
OL-29048-01
Purpose
Enables privileged EXEC mode. Enter your password if prompted.
Enters the global configuration mode.
Configures a hostname and IP domain name for your Switch.
Follow this procedure only if you are configuring the
Note
Switch as an SSH server.
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
How to Configure SSH
117
Need help?
Do you have a question about the Catalyst 2960-X and is the answer not in the manual?
Questions and answers