1 / 2
文档名称:

华为交换机配置SSH.doc

格式:doc   大小:32KB   页数:2页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

华为交换机配置SSH.doc

上传人:zbfc1172 2018/6/17 文件大小:32 KB

下载得到文件列表

华为交换机配置SSH.doc

文档介绍

文档介绍:3. 配置步骤(SSH认证方式为口令认证)
[Quidway] rsa local-key-pair create
& 说明:如果此前已完成生成本地密钥对的配置,可以略过此项操作。
[Quidway] user-interface vty 0 4
[Quidway-ui-vty0-4] authentication-mode scheme
[Quidway-ui-vty0-4] protocol inbound ssh
[Quidway] local-user client001
[Quidway-luser-client001] password simple huawei
[Quidway-luser-client001] service-type ssh
[Quidway] ssh user client001 authentication-type password
SSH的认证超时时间、重试次数以及服务器密钥更新时间可以采取系统默认值,这些配置完成以后,您就可以在其它与以太网交换机连接的终端上,,以用户名client001,密码huawei,访问以太网交换机了。
本文来自: IXPUB技术社区() 详细出处参考:?tid=699243&page=1
[******@main ~]#
在交换机的system-view视图下生成本地密钥,位数为1024
[H3C]rsa local-key-pair create
The local-key-pair will be created.
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[default = 1024]:
Generating keys...
......++++++
........................++++++
..Done!
[H3C]
OK,现在就可以SSH到交换机了.
附H3C交换机SSH的基本配置.
local-user root
password simple 66070511
service-type ssh
level 3
ssh user root authentication-type all
ssh user root service-type
#
user-interface aux 0
user-interface vty 0 4
authentication-mode scheme
user privilege level 3
protocol inbound ssh
#
H3C工程师配置
& 说明:
如果此前已完成生成本地密钥的配置