H3C 126B在telnet基础上补充ssh远程登录加的配置

启用ssh服务

[H3C_126B]ssh server enable 

创建公共rsa类型密钥

[H3C_126B]public-key local create rsa
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
It will take a few minutes.
Press CTRL+C to abort.
Input the bits of the modulus[default = 1024]:
Generating Keys...
++
+++++++++++++++++
+++
+++++++

补充用户服务类型 原只有telnet现加ssh

[H3C_126B]local-user h3c

[H3C_126B-luser-h3c]service-type telnet ssh 

虚拟终端配置不需要动(保留) 只提示远程用户需要用户名/密码登录即可, 即scheme类型登录

user-interface vty 0 4
authentication-mode scheme

posted @ 2025-04-28 14:19  techNote  阅读(11)  评论(0)    收藏  举报