Get the App
SLTechnology News&Howtos  ›  Network Security  › 

HCL performs Telnet,ssh remote login

Shulou Source: shulou.com Published: 2022-06-01 03:08:13 11月23日 Update

How to configure remote login for a device and test it using the hcl simulator.

First, open HCL and draw the topology diagram correctly

Because the HCL virtual host cannot perform Telnet verification, add a local host for testing

Second, enter the device and configure the device correctly for remote login

System-view

Int g 0/0

Ip add 192.168.1.1 24 (configure Telnet IP)

Quit

Telnet server enable (open Telnet service)

Line vty 0 4

Set-authentication password simple 123 (set authentication password)

User-role network-admin (set up account)

Third, test login, using cmd or putty

Before using cmd for remote login, you need to open the Telnet client of Windows

Ssh configuration command

1. Generate RSA and DSA key pairs

[H3C] public-key local create rsa

[H3C] public-key local create dsa

.

two。 Set the authentication mode on the user interface to AAA, and let the user interface support SSH protocol

[H3C] user-interface vty 0 4

[H3C-ui-vty0-4] authentication-mode scheme

[H3C-ui-vty0-4] protocol inbound ssh

3. Create the user admin, set the authentication password to LuwenjuMuyi authentication # login protocol is SSH, and the accessible command level is 3.

[H3C] local-user admin

[H3C-luser-admin] password cipher Luwenjumuri stories #

[H3C-luser-admin] service-type ssh level 3

.

4. Specify that the authentication method of user admin is password

[H3C] ssh user admin authentication-type password

Tags: Login user authentication configuration device test host command password interface client key topology topology mode mode simulator level virtual host Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia vpn Shulou Information MariaDB MySQL