The range of public key> NOTES: If the key modulus is greater than 512,
It will take a few minutes.
Input the bits in the modulus[default = 1024]:
Generating keys...
......++++++
........................++++++
..Done!
[H3C]
OK,现在就可以SSH到交换机了.
附H3C交换机SSH的基本配置.
local-user root
password simple 66070511
service-type ssh telnet
level 3
ssh user root authentication-type all
ssh user root service-type stelnet
#
user-interface aux 0
user-interface vty 0 4
authentication-mode scheme
user privilege level 3
protocol inbound ssh
#
H3C工程师配置
& 说明:
如果此前已完成生成本地密钥的配置,可以略过此步操作。
(2) 设置用户登录认证方式。
下面按照两种认证方式分别进行配置。
l password认证。
# 设置用户接口上的认证模式为AAA认证。
[Quidway] user-interface vty 0 4
[Quidway-ui-vty0-4] authentication-modescheme
# 指定用户client001的登录协议为SSH,认证方式为password。
[Quidway-ui-vty0-4] protocol inboundssh //这里可以不配置,默认是支持所有的,包含ssh,telnet等,默认ALL(否则SSH 无法登陆)
[Quidway] local-user client001
[Quidway-luser-client001] password simplehuawei
[Quidway] ssh user client001authentication-type password
6500上有些软件版本只能支持的SSH的版本为1.5,使用时请正确选择客户端版本。目前65只支持作为SSH服务器,不能作为SSH客户端;31XX版本中可以支持SSH2.0,可以作为服务器和客户端。
2300系列支持ssh1.x