Cisco Security Shell (SSH)

Source: Internet
Author: User

 

Set your Username

R (config) # hostname cisco

Set the domain name (the user name and domain name are required when the encrypted password is generated)

R (config) # ip domain-name cisco.com

Generate an encryption key for an encrypted session:

R (config) # crypto key generate rsa general-keys modulus 1024

Set the maximum space idle timer for an SSH session

R (config) # ip ssh time-out 60

Maximum Failed attempts for SSH connections:

R (config) # ip ssh authentication-retries 2

Connect to the vty line of the router:

R (config) # line vty 0 1180

Finally, configure SSH and use telnet as the Access Protocol:

R (config-line) # transport input ssh 123456

Encrypted password

R (config) # service password-encryption

 

From gswljy's BLOG

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.