Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Configure a SSH login case on a Huawei device

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

SSH is a commonly used secure remote management protocol. The configuration is as follows:

Server side:

User-interface vty 0 4

The authentication-mode aaa / / authentication mode adopts aaa, that is, the user name and password under aaa are called.

Protocol inbound ssh / / this virtual cable allows you to connect using ssh

#

Aaa

Local-user client001 password cipher qytang / / create a user name and corresponding password

Local-user client001 privilege level 3 / / give the client the highest permissions

Local-user client001 service-type ssh / / this user serves the ssh protocol

Quit

#

Ssh user client001 authentication-type password / / this user uses password authentication

Stelnet server enable / / start ssh protocol

Rsa local-key-pair create / / Please select a length. 2048 is recommended.

Client:

Ssh client first-time enable

Stelnet 77.1.1.1

[R6] stelnet 77.1.1.1

Please input the username:client001

Trying 77.1.1.1...

Press CTRL+K to abort

Connected to 77.1.1.1...

Enter password:

User last login information:Access Type: SSH

IP-Address: 10.1.67.6 ssh

Time: 2018-07-04 15:16:19-08:00

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report