华为路由器开启ssh远程
标签搜索

华为路由器开启ssh远程

ctkj
2022-03-02 / 0 评论 / 32 阅读 / 正在检测是否收录...

先进入系统
进入aaa模式
aaa
[Mix-li-aaa]local-user admin password cipher rc!@123456
Info: Add a new user.
[Mix-li-aaa]local-user admin privilege level 15
[Mix-li-aaa]local-user admin service-type ssh
[Mix-li-aaa]q
[Mix-li]ssh user admin authentication-type password
Authentication type setted, and will be in effect next time
[Mix-li]stelnet server enable
Info: Succeeded in starting the STELNET server.
[Mix-li]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]:
Generating keys…
[Mix-li]user-interface vty 0 4
[Mix-li-ui-vty0-4]authentication-mode aaa
[Mix-li-ui-vty0-4]protocol inbound ssh

0

评论 (0)

取消