Configuring SSH in Cisco: step by step manual

Configuring SSH in Cisco: step by step manual

Problem:

Configure SSH in Cisco. Make SSH the default environment for terminal lines.

Solution:

cisco> enable
cisco# clock set 17:10:00 28 Aug 2009
cisco# configure terminal
cisco(config)# ip domain name test.dom
cisco(config)# crypto key generate rsa
cisco(config)# service password-encryption
cisco(config)# username user privilege 15 password 7 Pa$$w0rd
cisco(config)# aaa new-model
cisco(config)# line vty 0 4
cisco(config-line)# transport input ssh
cisco(config-line)# logging synchronous
cisco(config-line)# exec-timeout 60 0
cisco(config-line)# exit
cisco(config)# exit
cisco# copy running-config startup-config

Explanation:

  1. Enter privileged mode
  2. Set the exact time for key generation
  3.  Enter configuration mode
  4. Specify the domain name (necessary for key generation)
  5. Generate an RSA key (you will need to select a key size)
  6. Activate password encryption in the configuration file
  7. We start the user with the user name, password Pa $$ w0rd and privilege level 15
  8. Activate the AAA protocol. (at least one user must be logged in before activation of AAA)
  9. We enter the configuration mode of the terminal lines from 0 to 4
  10. Specify the default SSH network access medium
  11. Activate automatic line raising after the system responds to the changes made
  12. Specify the timeout time before the automatic closing of the SSH session in 60 minutes
  13. Exit the terminal line configuration mode
  14. Exit configuration mode
  15. Save the configuration file to non-volatile memory

So we did it guys!

Вас заинтересует / Intresting for you:

Cisco ASA 5500-X: Reimaging Es...
Cisco ASA 5500-X: Reimaging Es... 1839 views Андрей Волков Sun, 10 Nov 2019, 14:34:36
Next-Generation Data Center Co...
Next-Generation Data Center Co... 701 views Masha Tue, 17 Sep 2019, 05:54:21
Cisco Firepower Threat Defense...
Cisco Firepower Threat Defense... 1267 views Андрей Волков Sun, 10 Nov 2019, 12:06:37
History and evolution of Cisco...
History and evolution of Cisco... 773 views Андрей Волков Sun, 10 Nov 2019, 12:18:22