SSH Server Configuration in Cisco Router

 



About SSH

SSH stands for Secure SHell.

SSH is an application layer protocol that allows a network administrator to access and manage remote devices through encrypted transformation . Data transmission will be secure because all data will encrypted if you connect with remote device by using this protocol.

A network administrator can access the device by using ssh  to the IP address or hostname of a remote device. The network administrator will then be presented with a virtual terminal that can interact with the remote host.

Port Number: 22

 Video Link: https://www.youtube.com/watch?v=MRrdNETtue0      

                     


        

Our Purpose: Here, Left router will be our SSH server. Right router will be ssh client. We will try to connect SSH-Server remotely from client router by using ssh. 

                                                        SSH Configuration:

SSH-Server

Client

SSH-Server# conf t

SSH-Server(config)#int f0/0

SSH-Server(config-if)#ip add 10.1.1.1 255.0.0.0

SSH-Server(config-if)#no sh

 SSH-Server(config-if)#exit


SSH-Server(config)#enable password cisco

 

SSH-Server(config)#username itbd password itbd

 

SSH-Server(config)#ip  domain  name itbd.tech

 

SSH-Server(config)#crypto  key  generate   rsa

SSH-Server(config)#line vty 0 2

SSH-Server(config)#login local

Client# conf t

Client(config)#int f0/0

Client(config-if)#ip add 10.1.1.2 255.0.0.0

Client(config-if)#no sh

Client(config-if)#exit

Client(config)#exit

 

Client# ping 10.1.1.1

 

Client# ssh -l   itbd   10.1.1.1

Server Part:  

                                


      Client Part:


Now we will try capture the “SSH” Packet by 'Wireshark' packet capturing/analyzing tool.
Note: Before capturing, you should to start capture first, then you have to connect remotely R1 router.



All data are encrypted

Telnet Server Configuration Link: 
https://itbd-training.blogspot.com/2021/08/about-telnet-stands-for-terminal-network.html


Comments

Popular posts from this blog

Some Questions for MTCNA Exam

Course Content of IT Bangladesh

Networking Questions