当前位置:网站首页>Login Huawei device in SSH mode
Login Huawei device in SSH mode
2022-07-24 20:05:00 【tlucky1】
1. requirement
establish user1 account number , password [email protected], User level 3, Only with ssh How to log in
2. Topology

3. To configure
AR1
sys
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip address 1.1.1.2 24
[Huawei-GigabitEthernet0/0/0]q
[Huawei]un in en
[Huawei]aaa
[Huawei-aaa]local-user user1 password cipher [email protected] privilege level 3
[Huawei-aaa]local-user user1 service-type ssh
[Huawei-aaa]q
[Huawei]rsa l
[Huawei]rsa local-key-pair create
The key name will be: Host
% RSA keys defined for Host already exist.
Confirm to replace them? (y/n)[n]:y
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]:y
% Invalid number, the range is (512 ~ 2048).
[Huawei]rsa local-key-pair create
The key name will be: Host
% RSA keys defined for Host already exist.
Confirm to replace them? (y/n)[n]:y
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…
…++++++
…++++++
…++++++++
…++++++++
[Huawei]user vty 0 4
[Huawei-ui-vty0-4]authentication-mode aaa
[Huawei-ui-vty0-4]protocol inbound ssh
[Huawei-ui-vty0-4]q
[Huawei]ssh user user1 authentication-type pass
[Huawei]ssh user user1 authentication-type password
[Huawei]stelnet server enable
Info: Succeeded in starting the STELNET server.
[Huawei]
pc
sys
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip address 1.1.1.1 24
[Huawei]ssh client first-time enable
[Huawei]stelnet 1.1.1.2
Please input the username:user1
Trying 1.1.1.2 …
Press CTRL+K to abort
Connected to 1.1.1.2 …
The server is not authenticated. Continue to access it? (y/n)[n]:y
Save the server’s public key? (y/n)[n]:y
The server’s public key will be saved with the name 1.1.1.2. Please wait…
Enter password:
Enter password:
Enter password:
Info: The connection was closed by the remote host.
Login successful
边栏推荐
- Alibaba cloud technology expert Yang Zeqiang: building observable capabilities on elastic computing cloud
- Look at the interface control devaxpress WinForms - how to customize auxiliary function properties (Part 2)
- Anaconda installs labelimg (super simple and available)
- Covid-19-20 - basic method of network segmentation based on vnet3d
- C# 窗体应用TreeView控件使用
- Istio II traffic hijacking process
- Pix2seq: Google brain proposes a unified interface for CV tasks!
- Solve the problem of error l6218e undefined symbol XXX
- Day 4 (item 1: household income and expenditure records)
- [German flavor] safety: how to provide more protection for pedestrians
猜你喜欢

从码农转型大音乐家,你只差这些音乐处理工具

Are network security and data security indistinguishable? Why is data security important?

Read the registry through the ATL library clegkey (simple and convenient)

clip:learning transferable visual models from natural language supervision
![[FreeRTOS] 10 event flag group](/img/c3/9f9c2ac4641f478575d48afd580b4b.png)
[FreeRTOS] 10 event flag group

C# 窗体应用TreeView控件使用

Unity2d~ game practice of decrypting Zhou mu (completed in three days)
![[face to face experience of school recruitment] 8 real questions of pointer interview. Come and test how many you have mastered.](/img/2c/e687b224285aeee66dacace6331161.png)
[face to face experience of school recruitment] 8 real questions of pointer interview. Come and test how many you have mastered.

Istio二之流量劫持过程

ATL container - catlmap, crbmap
随机推荐
MySQL stored procedure
English translation Chinese common dirty words
Hook 32-bit function using the method modified to JMP instruction
Is the incremental update of SQL Server database identified according to the where clause? Can't do stream update? Each table should
2019 Hangzhou Electric Multi School Game 9 6684 Rikka with game [game question]
Anaconda installs labelimg (super simple and available)
Storage category
Recursion of function [easy to understand]
Know typescript
Xiaomi 12s ultra products are so powerful, but foreigners can't buy Lei Jun: first concentrate on the Chinese market
Solve the problem that gd32f207 serial port can receive but send 00
Sword finger offer 47. the maximum value of gifts
Pix2seq: Google brain proposes a unified interface for CV tasks!
Lights of thousands of families in the year of xinchou
Cmake series tutorial 1- initial cmake
YouTube "label products" pilot project launched
《自尊的6大支柱》自尊来源于自身的感受
Unity2d~ game practice of decrypting Zhou mu (completed in three days)
Valdo2021 - vascular space segmentation in vascular disease detection challenge (3)
Istio二之流量劫持过程