This Blog is my personal opinion blog of Cisco networking studies. I will provide Cisco switches, routers, ASA and Cisco WLC troubleshooting and configurations.

Wednesday 5 September 2018

How to quickly configure SSH on cisco switch, Cisco Router

                   How to Configure SSH on Cisco Switch


Hello Guys, We have already learned how to configure telnet on Cisco switches, now we are talking about SSH. Cisco recommends configuring SSH instead of telnet because SSH is more secure than telnet. Telnet sends everything in plaintext.

Now quickly move toward the SSH configurations.

Step.1  

First of all, we need to set Domain-name. Many engineers contact us for why we need a domain name in Cisco networks to configure SHH. Please find the under mentioned discussion link from learningnetwork.cisco.com



Cisco SHH Cofigurations
                                                                      (Pic-01)

Pic-01,   Just enter IP domain-name in config mode. You can set any domain name to the switch. It is recommended that use the same domain name in all of your network's devices


Step.2


Cisco SHH Cofigurations RSA Ket genrate
                                                                   (Pic-02)

Pic-02,  Now just enter the command Crypto key generate rsa command in config mode to generate rsa key. When you enter this command. It will ask you for how many bits you want to use for rsa key. 2048 recommended key to enter. please avoid using 1024 key. 


Step.3


Cisco SSH ip ssh version 2 command
                                                                (Pic-03)

Pic-03,  There are two Cisco SSH versions, Version 2 is more secure than version 1 so we are using version 2 to configure SSH. Now SSH is enabled. Now we also have to configure VTY lines to use SSH Sessions.


Step.4


Line VTY SSH Configurations
                                                               (Pic-04)

Pic-04,   As shown in the above pic. we need to configure line VTY  For SSH. It is recommended to use only transport input ssh command in line VTY.  

Note.  We have to use Login Local, In my personal experience, many engineers forget to configure login local command in line VTY. By enter this command your switch will ask you for username and password. Now finally we need to configure Username and password to the switch.



Cisco switch usernae and password configuration for ssh
                                                          (Pic-05)
Pic-05,  Now finally just configure the username and password to the switch and you are done with the SSH Configurations


Cisco username prompt
                                                      (Pic-06)
Pic-06, when you SSH your switch, it will ask you for username and password so you are done with SSH configuration.

Overall Configurations:

All configurations is in config mode

  • IP domain-name  (Your domain name)
  • Crypto key generate rsa  (Then ask for key bit, entetr 2048)
  • IP SSH version 2
  • Line VTY 0 4 (then enter transport input ssh command then login local command)
  • Username (your username) password  (your password)


Note:  You can set above configurations in Cisco routers and switches as well.  If you feel and issue regarding SSH configuration. please contact us. Please also suggest us how we can improve our formats and topics. Have a Good day!

Hope Cisco switch SSH Configurations is helpful for you


--------------------------------------------------End Topic--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                            ****Free of Cost Services****

·        You can contact us for free any Cisco paid software router IOS, Latest Switches IOS, Wireless IOS, Cisco ASA IOS, paid Cisco documentation.

·        You can also contact us with any kind of network issues during your studies and job. we will respond to you within 2 to 3 hours.

·        You can also contact us for your network projects and assignment. We have expert team for preparing the documentation.

·         

                                           ****Contact us****
****Blogger ****


 ****Email ****


****Website ****



****AQ Cisco Community Profile****
             


****Google+ ****



****Facebook****



*****Cisco Switch Useful Commands****



****Cisco switch Error disable quick****


****Cisco switch LED and Network assistant software****



****Cisco switch password recovery****



****Port channel suspended****




Hope document helpful for you

Regards,

AQ Learning Center (Networks)

CCIE Experts



Play Pause