Basic configurations for SSH login to a cisco Router

Source: Internet
Author: User
Tags ssh access


Basic SSH login configuration for cisco routers 1. username sunchao password cisco 2. ip domain-name sunchao.com (which can be customized) www.2cto.com 3. crypto key generate rsa, the default value is 512. 4. access-list 10 permit 192.168.1.0 0.0.255 (one CIDR block is allowed) or a single IP address www.2cto.com access-list 10 remark Hosts allowed to SSH access-list 10 permit host 192.168.1.1 access-list 10 permit host 192.168.1.2 R2 (config) # line vty 0 4R2 (config-line) # login loc Al R2 (config-line) # transport input ssh R2 (config-line) # access-class 10 inR2 (config) # ip ssh time-out 30 timeout 30 seconds R2 (config) # ip ssh version 2 R1 login> enable # ssh? R1 # ssh-l sunchao 192.168.1.1OpenPassword:

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.