CCNA Class 13: SSH Concepts and Its Configuration
Enable SSH on Cisco Router
Configuration SSH Step by Step
Basic Router Configuration along with IP Address Assigned both of the Routers and Local PC
SSH configuration Local and Branch Routers
Create a Local User for Accessing Router
Ensure the Security Level of both of the Routers.
Managed remote Office Router from Local PC
Test the configuration
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
Giving the SSH Password
When turn on Privileged Exec Mode, will occurred an error following the picture
Giving the password for Privileged Exec Mode
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
Configuration the Remote Branch Router (Branch_Office_R2):
Basic Configuration of the Router as well as IP addresses.
Configure the Routing for remote management of Router.