华为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登陆时提示以下错误:

添加以下命令

切换到用户视图

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登陆了