Purpose
Command or Action
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
Configures a host domain for your Switch.
ip domain-name domain_name
Example:
Switch(config)#
ip domain-name
Step 4
your_domain
Enables the SSH server for local and remote authentication on the
Switch and generates an RSA key pair. Generating an RSA key
pair for the Switch automatically enables SSH.
crypto key generate rsa
Example:
Switch(config)#
crypto key generate rsa
Step 5
We recommend that a minimum modulus size of 1024 bits.
When you generate RSA keys, you are prompted to enter a modulus
length. A longer modulus length might be more secure, but it takes
longer to generate and to use.
Follow this procedure only if you are configuring the
Switch as an SSH server.
Note
Returns to privileged EXEC mode.
end
Example:
Switch(config)#
end
Step 6
Verifies your entries.
show running-config
Example:
Switch#
show running-config
Step 7
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Switch#
copy running-config
Step 8
startup-config
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1074
How to Configure Secure Shell
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......