Username:admin Password:Admin@123 The password needs to be changed. Change now? [Y/N]: Y Please enter old password: Admin@123 Please enter new password: huawei@123 Please confirm new password: huawei@123
4.指定用户的登录方式 [FW1]ssh user sshadmin [FW1]ssh user sshadmin authentication-type password [FW1]ssh user sshadmin service-type stelnet
5.生成RSA密钥对. [FW1]rsa local-key-pair create The key name will be: FW1_Host The range of public key size is (2048 ~ 2048). NOTES: If the key modulus is greater than 512, it will take a few minutes. Input the bits in the modulus[default = 2048]: Generating keys... ...+++++ ........................++ ....++++ ...........++
命令行 c:\>ssh sshadmin@10.10.10.2 The authenticity of host '10.10.10.2 (10.10.10.2)' can't be established. ECDSA key fingerprint is SHA256:onA2uyf3daCaGnH9UsZUWjQc1FrYeSNNXBc+Bb4oiLk. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '10.10.10.2' (ECDSA) to the list of known hosts. User Authentication Password:
************************************************************************* * Copyright (C) 2014-2018 Huawei Technologies Co., Ltd. * * All rights reserved. * * Without the owner's prior written consent, * * no decompiling or reverse-engineering shall be allowed. * *************************************************************************
Info: The max number of VTY users is 10, and the number of current VTY users on line is 1. The current login time is 2024-03-14 03:02:59+00:00. <FW1>sy Enter system view, return user view with Ctrl+Z. [FW1]
HRP_M[FW1]display hrp configuration check zone Info: You must run the check command to view the result. Module State Start-time End-time Result zone init
HRP_M[FW1]display hrp configuration check all Info: You must run the check command to view the result. Module State Start-time End-time Result all init
HRP_M[FW1]display hrp state Role: active, peer: standby ("hrp switch active" on this device) Running priority: 45001, peer: 45000 Backup channel usage: 0.00% Stable time: 0 days, 0 hours, 0 minutes Last state change information: 2024-03-14 8:05:36 HRP core state changed, old_s tate = abnormal(standby), new_state = abnormal(active), local_priority = 45001, peer_priority = 45000.
---- 会话表是同步的 HRP_M[FW1]dis firewall session table Current Total Sessions : 3 udp VPN: public --> public 100.1.1.2:16384 --> 100.1.1.1:18514 udp VPN: public --> public 100.1.1.2:49152 --> 100.1.1.1:18514 udp VPN: public --> public 100.1.1.1:49152 --> 100.1.1.2:18514 HRP_M[FW1]dis firewall session table Current Total Sessions : 3 udp VPN: public --> public 100.1.1.2:16384 --> 100.1.1.1:18514 udp VPN: public --> public 100.1.1.2:49152 --> 100.1.1.1:18514 udp VPN: public --> public 100.1.1.1:49152 --> 100.1.1.2:18514 ----- HRP_M[FW1]display hrp ? configuration Check local configuration with remote firewall history-information Indicate HRP history information interface Indicate HRP backup channels infomation state Indicate the HRP status infomation statistic Indicate HRP statistic information