• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

H3C S3100V2-26TP-Si 配置SSH 的正确命令是什么

2018-01-29提问
  • 0关注
  • 1收藏,6387浏览
粉丝:0人 关注:0人

问题描述:

H3C S3100V2-26TP-Si 配置SSH 按照  S3100-26TP-EI 的SSH配置方法配置后无法登录设备。一下是配置命令。。

user-interface vty 0 4

acl 2999 inbound

 authentication-mode scheme

 user privilege level 3

 protocol inbound ssh

undo set authentication password


local-user xxbadmin

 password cipher XXXXXXXXX

 service-type ssh

 level 3


 ssh user xxbadmin authentication-type password



最佳答案

墨峰 九段
粉丝:51人 关注:6人

(1)     配置SSH服务器

# 生成RSA密钥对。

<Switch> system-view

[Switch] public-key local create rsa

The range of public key size is (512 ~ 2048).

NOTES: If the key modulus is greater than 512,

It will take a few minutes.

Press CTRL+C to abort.

Input the bits of the modulus[default = 1024]:

Generating Keys...

++++++++

++++++++++++++

+++++

++++++++

# 生成DSA密钥对。

[Switch] public-key local create dsa

The range of public key size is (512 ~ 2048).

NOTES: If the key modulus is greater than 512,

It will take a few minutes.

Press CTRL+C to abort.

Input the bits of the modulus[default = 1024]:

Generating Keys...

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

+++++++++++++++++++++++++++++++++++

# 启动SSH服务器。

[Switch] ssh server enable

# 配置VLAN接口1的IP地址,客户端将通过该地址连接SSH服务器。

[Switch] interface vlan-interface 1

[Switch-Vlan-interface1] ip address 192.168.1.40 255.255.255.0

[Switch-Vlan-interface1] quit

# 设置SSH客户端登录用户界面的认证方式为AAA认证。

[Switch] user-interface vty 0 15

[Switch-ui-vty0-15] authentication-mode scheme

# 设置Switch上远程用户登录协议为SSH。

[Switch-ui-vty0-15] protocol inbound ssh

[Switch-ui-vty0-15] quit

# 创建本地用户client001,并设置用户访问的命令级别为3。

[Switch] local-user client001

[Switch-luser-client001] password simple aabbcc

[Switch-luser-client001] service-type ssh

[Switch-luser-client001] authorization-attribute level 3

[Switch-luser-client001] quit

# 配置SSH用户client001的服务类型为Stelnet,认证方式为password认证。(此步骤可以不配置)

[Switch] ssh user client001 service-type stelnet authentication-type password


暂无评论

4 个回答
粉丝:0人 关注:0人

http://www.h3c.com/cn/Service/Document_Center/Switches/Catalog/S3100V2/S3100V2-SI/   按照配置指导操作就可以了

暂无评论

zhiliao_75743 知了小白
粉丝:0人 关注:0人

H3C S3100V2-26TP-Si   

ssh server enable

 

user-interface vty 0 4

acl 2999 inbound

 authentication-mode scheme

 user privilege level 3

 protocol inbound ssh

undo set authentication password

 

 

local-user xxbadmin

 password cipher 12345678

authorization-attribute level 3



用这个命令配置该类型交换机后,有的交换机可以SSH了。但是有的提示密码不正确。为什么???

暂无评论

zhiliao_2Fq1d 知了小白
粉丝:0人 关注:0人

太阳城娱乐官网***.***/index.html

暂无评论

zhiliao_yhc4l 知了小白
粉丝:0人 关注:0人

配置了之后,只有很少的读权限,是什么原因呢,还是说正常就这样

<BGS_1FSYS-102231>? 

User view commands: 

 cd Change current directory 

 copy  Copy from one file to another 

 delete Delete a file 

 dir List files on a file system 

 display Display current system information 

 format Format the device 

 info-center Specify information center configuration information 

 mkdir Create a new directory 

 more Display the contents of a file 

 move Move the file 

 pwd Display current working directory 

 quit Exit from current command view 

 rename Rename a file or directory 

 rmdir Remove an existing directory 

 security-logfile Specify security log file configuration 

 sftp Establish one SFTP connection 

 undelete Recover a deleted file 

<BGS_1FSYS-102231> 


暂无评论

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明