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

Turn on Huawei switch router ssh access

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

Share

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

Requirement: the client of PC can log on to the switch for remote management through SSH.

Step 1, generate a local key pair:

[test] rsa local-key-pair create The key name will be: Auotnavi-callcenter-01_Host The range of public key size is 512 ~ 2048. NOTES: If the key modulus is greater than 512, It will take a few minutes. Input the bits in the modulus [default = 512]: 1024 Generating keys... . +

Step 2, configure the VTY user interface:

[Auotnavi-callcenter-01] user [Auotnavi-callcenter-01] user-interface vty0 4 [Auotnavi-callcenter-01-ui-vty0-4] authentication-mode aaa [Auotnavi-callcenter-01-ui-vty0-4] protocol inbound ssh

Step 3, create the SSH user and password

# aaa#local-user root password simple 123456 # local-user root privilege level 3 # local-user root service-type ssh

Step 4: configure the authentication and service methods of ssh users

[Quidway] ssh user user name authentication-type password or [Quidway] ssh authentication-type default password # if there are too many users, you can directly set the default authentication method [Quidway] ssh user username service-type {sftp | stelnet | all} # this step is not configured, and server refused to start a shell/command may occur.

Step 5: enable ssh services

[Quidway] stelnet server enable

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