CCNA Class 13: SSH Concepts and Its Configuration

 Enable SSH on Cisco Router

Configuration SSH Step by Step

  1. Basic Router Configuration along with IP Address Assigned both of the Routers and Local PC

  2. SSH configuration Local and Branch Routers

  3. Create a Local User for Accessing Router

  4. Ensure the Security Level of both of the Routers.

  5. Managed remote Office Router from Local PC 

  6. Test the configuration


  1. Configuration the Local Router (HQ_R1):

Step 01: Basic Router Configuration & IP Address Assigned

Router>enable

Router#conf t

Router(config)#hostname HQ_R1

HQ_R1(config)#interface gi0/0/0

HQ_R1(config-if)#ip address 1.2.3.1 255.255.255.252

HQ_R1(config-if)#no sh

HQ_R1(config-if)#int gi0/0/1

HQ_R1(config-if)#ip address 1.2.3.5 255.255.255.252

HQ_R1(config-if)#no shutdown

HQ_R1(config-if)#

HQ_R1(config-if)#exit


Step 02: SSH Configuration


HQ_R1(config)#ip ssh version 2

HQ_R1(config)#ip domain-name ahm.local

HQ_R1(config)#crypto key generate rsa general-keys modulus 1024

HQ_R1(config)#end

HQ_R1#show ip ssh

HQ_R1#conf t

HQ_R1(config)#line vty 0 15

HQ_R1(config-line)#password cisco

HQ_R1(config-line)#login local

HQ_R1(config-line)#transport input ssh

HQ_R1(config-line)#end


Step 03: Create a Local User For Accessing Router


HQ_R1#conf t

HQ_R1(config)#username unitexadmin password unitexadmin

HQ_R1(config)#service password-encryption

HQ_R1(config)#end

HQ_R1#wr

Step 04: Ensure the Security Level 

  1. Giving the SSH Password

  2. When turn on Privileged Exec Mode, will occurred an error following the picture

  3. Giving the password for Privileged Exec Mode

  4. Will turn on the Privileged Exec mode.

HQ_R1#configure terminal

HQ_R1(config)#enable secret cisco

HQ_R1(config)#end

HQ_R1#wr


Step 05: Test the configuration

Router to Router Access: ssh -l <username> <remoterouter_ip>

Local PC to Local Router Access:

Option 1:  ssh -l <username> <remoterouter_ip>

Option 2: Given by the Following Picture


  1. Configuration the Remote Branch Router (Branch_Office_R2):

  1. Basic Configuration of the Router as well as IP addresses.

  2. Configure the Routing for remote management of Router.

Popular posts from this blog

RHCSA-EX200: Vendor Exam Problem Solving

CCNA Class 11: Distance vector Routing Protocol (RIPv1 & RIPv2) Configuration

CCNA Class 10: Introduction of Routed & Routing Protocols and Configuration