Consolidated Platform Configuration Guide, Cisco Ios Release 15.2(4)E (Catalyst 2960-X Switches - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

How to Configure Secure Shell
Command or Action
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
hostname hostname
Example:
Switch(config)# hostname your_hostname
Step 4
ip domain-name domain_name
Example:
Switch(config)# ip domain-name
your_domain
Step 5
crypto key generate rsa
Example:
Switch(config)# crypto key generate rsa
Step 6
end
Example:
Switch(config)# end
Step 7
show running-config
Example:
Switch# show running-config
Step 8
copy running-config startup-config
Example:
Switch# copy running-config
startup-config

Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)

1074
Purpose
Enters the global configuration mode.
Configures a hostname and IP domain name for your Switch.
Note
Follow this procedure only if you are configuring the
Switch as an SSH server.
Configures a host domain for your Switch.
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.
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
Note
Switch as an SSH server.
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents