华为 AP 3010 SSH 配置
华为 SSH 配置1,配置 本地RSA 密钥
rsa local-key-pair create
The key name will be: Host
% RSA keys defined for Host already exist.
Confirm to replace them? (y/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:512
Generating keys...
...++++++++++++
..++++++++++++
......................++++++++
.......++++++++
2.设置VTY用户只能用SSH模式
user-interface vty 0 4
authentication-mode aaa
protocolinboundssh
3.创建aaa用户及密码
aaa #进入aaa
local-user admin password cipher 123456 #创建用户名和密码
local-user admin privilege level 3 #设置权限
4.配置 SSH 用户的认证方式
ssh user admin authentication-type password
5.开启stelnet
stelnet server enable
页:
[1]