华为交换机SSH配置

新闻资讯 2023-08-03 阅读 7 来源:扬帆启航

华为S5735S交换机配置SSH远程管理失败的解决方法

配置脚本如下:

#aaa

local-aaa-user password policy administrator
undo password alert original

local-user admin password irreversible-cipher $1c$MDP~Z%rk4A$0Js}@u”X$:”fd’TPsu%’Wv9_P]4KzLs2%9$
local-user admin privilege level 15
local-user admin service-type telnet terminal ssh

#

stelnet server enable

rsa local-key-pair create
ssh user admin

ssh user admin server-type ssh
ssh user admin authentication-type password
ssh server-source all-interface

#

user-interface vty 0 4
authentication-mode aaa
protocol inbound all

通过SecureCRT登陆时提示以下错误:

华为交换机SSH配置

添加以下命令

切换到用户视图

load-module weakea
Info: Load weakea.mod from the startup system software to $_install_mod/weakea.mod. You can run the install-module weakea.mod command to install it.
install-module weakea.mod
Info: Installing the module flash:/$_install_mod/weakea.mod….
Info: Succeeded in installing the module on the master board……

#

undo ssh server cipher
undo ssh server hmac
undo ssh server key-exchange
undo ssh server dh-exchange min-len
undo ssh server publickey
undo ssh client cipher
undo ssh client hmac
undo ssh client key-exchange

华为交换机SSH配置

现在配置就可以正常使用SSH登陆了

by1/2023年8月3日/in技术分享

最近项目

分类

需要这类方案或设备?

提供选型建议、配置清单与施工报价,支持上门勘查。

立即咨询