How to Setup SSH Access on a Cisco Router for Security

How to Setup SSH Access on a Cisco Router for Security

Telnet connections is not secure the data sent via telnet can be read by a packet sniffer and decoded so it is a security breach . We should avoid using telnet at all the times . we can enable ssh on cisco routers
We need to login to global configuration mode. The first criteria is to set a domain name and hostname of the router on the basis of which the RSA key is generated.
Continue reading…



Configuring Banners And Hostnames On A Cisco Router

Configuring Banners And Hostnames On A Cisco Router

Configuring banners and hostname can be the most easiest task on a cisco exam .But still sometime people get confused in which type of banner they have to set.Hostname is just an identification we give it to a cisco router its just like the name of the router or the location of the router which helps us identify it .

To configure hostname

Router(config)#hostname routemybrain.com
Note:- see the router is in the global configuration mode.

There are 4 types of banners that you can set on a cisco router they are:-

  • MOTD Banner
  • Exec Banner
  • Incoming Banner
  • Login Banner

The MOTD banner aka the message of the day banner is displayed to one who connects to the router it does not matter how the person connects it may be using console ssh or telnet this MOTD banner will be displayed to him.
Router(config)# banner motd # Welcome to ROUTEMYBRAIN.COM This Is MOTD BANNER #

Note:-The pound (#) is the limiting character it tells that whenever you account this symbol again it means the end of the banner. We can use any sign $,> etc but the sign should be same at the starting of the banner command and the end of banner command

Exec Banner – Whene you enter the EXEC mode this banner is displayed .

Router(config)# banner exec # Welcome to ROUTEMYBRAIN.COM This Is EXEC BANNER #

Incoming Banner-This is used when user use reverse telnet on their cisco routers this is needed when we have an access router in our system.

Router(config)# banner incoming # Welcome to ROUTEMYBRAIN.COM This Is Incoming BANNER #

Login Banner- This banner is shown after the MOTD banner but before the login prompt . It cannot be disabled it has to be deleted
.
Router(config)# banner login # Welcome to ROUTEMYBRAIN.COM This Is Login BANNER #

Banners can be grateful they can provide user with warnings like do not enter if you are not authorized etc . So it is important so create banners on your cisco routers now . See my video on Configuring Banners And Hostnames On A Cisco Router

Subscribe to My Youtube Channel


How To Configure A New Cisco Router From Scratch

Configuring a cisco router can be quite difficult if you are using cisco router for the first time .The first thing that comes to mind is how to connect the cisco router to the computer .
Yeah people who are new to cisco world , just started with cisco certification or earlier they were using some simulator for cisco device this can be a challenging task . I also faced trouble connecting my workstation to my cisco router . But in the end I figured it out.
Continue reading…