AR series routers use SSH user authentication mode for password login router's typical configuration _ routers, switches

Source: Internet
Author: User
Tags modulus switches ssh
Big | In | Small
SSH is a secure shell (security shell) abbreviation, the user through an unsecured network environment Telnet to the router, SSH features can provide security and powerful authentication capabilities to protect routers from such as IP address fraud, plaintext password interception, and so on.
Log on to the router using SSH client via password
#

sysname Quidway

#

RADIUS scheme System

#

Domain system

#

Local-user/Create local account "the"

Password simple/Set the password for "the"

Service-type SSH/Set service type is ssh/

Level 3/Set user priority to 3/

#

Interface ethernet1/0/0

IP address 192.168.1.254 255.255.255.0

#

Interface NULL0

#

SSH user authentication-type password/configure SSH users authentication mode to password/

SSH user service-type stelnet/configure SSH Users service type is stelnet/

#

User-interface Con 0

User-interface vty 0 4

Authentication-mode Scheme/SET scheme certification/

#

Return
Authentication

1. Generate local RSA master key pair and server key pair

[Quidway]rsa Local-key-pair Create

The key name would be:quidway_host

The range of public key size is (512 ~ 2048).

Notes:if the key modulus is greater than 512,

It would take a few minutes.

Input the bits in the Modulus[default = 512]:/The default digits of the master key are 512 bits/

Generating keys ...

..............++++++++++++

.++++++++++++

....................++++++++

.......++++++++

2, the use of SSH client software putty, input "Huawei/huawei" can successfully login system

Prompted

1. Configuring and generating a local RSA key pair (RSA Local-key-pair create) is the first step in successfully completing an SSH login. This command only needs to be performed once, and the router does not have to be restarted after it restarts.

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.