How To Configure Ssh; Setting Up The Switch To Run Ssh - Cisco Catalyst 2960-XR Security Configuration Manual

Ios release 15.0 2 ex1
Hide thumbs Also See for Catalyst 2960-XR:
Table of Contents

Advertisement

Configuring Secure Shell (SSH)

How to Configure SSH

Setting Up the Switch to Run SSH

Beginning in privileged EXEC mode, 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. configure terminal
2. hostname hostname
3. ip domain-name domain_name
4. crypto key generate rsa
5. end
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
Switch# configure terminal
Step 2
hostname hostname
Example:
Switch(config)# hostname your_hostname
Step 3
ip domain-name domain_name
Example:
Switch(config)# ip domain-name
your_domain
Step 4
crypto key generate rsa
Example:
Switch(config)# crypto key generate
OL-29434-01
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.
Catalyst 2960-XR Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX1
How to Configure SSH
89

Advertisement

Table of Contents
loading

Table of Contents