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

两台路由器ssh用rsa公钥验证方式不成功,dsa可以,求解

1天前提问
  • 0关注
  • 0收藏,50浏览
粉丝:0人 关注:0人

问题描述:

以下是debuging信息,能分析出问题出在哪里吗?

<A>*Nov 18 23:11:21:741 2024 A SSHS/7/EVENT: Connection from 192.168.1.2 port 53387

*Nov 18 23:11:21:743 2024 A SSHS/7/EVENT: Start new child 335.

*Nov 18 23:11:21:747 2024 A SSHS/7/EVENT: Client protocol version 2.0, client software version Comware-7.1.075

*Nov 18 23:11:21:747 2024 A SSHS/7/EVENT: Enabling compatibility mode for protocol 2.0

*Nov 18 23:11:21:747 2024 A SSHS/7/EVENT: Local version string SSH-2.0-Comware-7.1.075

*Nov 18 23:11:21:747 2024 A SSHS/7/EVENT: Hostkey string is : ssh-rsa

*Nov 18 23:11:21:747 2024 A SSHS/7/MESSAGE: Prepare packet[20].

*Nov 18 23:11:21:749 2024 A SSHS/7/MESSAGE: Received packet type 20.

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Received SSH2_MSG_KEXINIT.

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: My proposal kex:

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(0): diffie-hellman-group-exchange-sha1

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(1): ssh-rsa

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(2): aes128-cbc,aes256-cbc,3des-cbc,des-cbc

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(3): aes128-cbc,aes256-cbc,3des-cbc,des-cbc

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(4): hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(5): hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(6): none,zlib,zlib@openssh.com

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(7): none,zlib,zlib@openssh.com

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(8):

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(9):

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Peer proposal kex:

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(0): diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(1): ecdsa-sha2-nistp256,ssh-dss,ssh-rsa

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(2): aes128-cbc,aes256-cbc,3des-cbc,des-cbc

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(3): aes128-cbc,aes256-cbc,3des-cbc,des-cbc

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(4): hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(5): hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(6): none,zlib,zlib@openssh.com

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(7): none,zlib,zlib@openssh.com

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(8):

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(9):

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex: client->server, Encrypt: aes128-cbc, HMAC: hmac-sha1, Compress: none

*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex: server->client, Encrypt: aes128-cbc, HMAC: hmac-sha1, Compress: none

*Nov 18 23:11:21:751 2024 A SSHS/7/MESSAGE: Received packet type 34.

*Nov 18 23:11:21:751 2024 A SSHS/7/EVENT: Received SSH2_MSG_KEX_DH_GEX_REQUEST.

*Nov 18 23:11:21:751 2024 A SSHS/7/MESSAGE: Prepare packet[31].

*Nov 18 23:11:21:770 2024 A SSHS/7/EVENT: Expecting packet type 32.

*Nov 18 23:11:21:785 2024 A SSHS/7/MESSAGE: Received packet type 32.

*Nov 18 23:11:21:809 2024 A SSHS/7/MESSAGE: Prepare packet[33].

*Nov 18 23:11:21:810 2024 A SSHS/7/MESSAGE: Prepare packet[21].

*Nov 18 23:11:21:810 2024 A SSHS/7/EVENT: Set new keys: mode=1

*Nov 18 23:11:21:810 2024 A SSHS/7/EVENT: Expecting packet type 21.

*Nov 18 23:11:31:244 2024 A SSHS/7/EVENT: Set new keys: mode=0

*Nov 18 23:11:31:244 2024 A SSHS/7/MESSAGE: Received packet type 21.

*Nov 18 23:11:31:244 2024 A SSHS/7/EVENT: KEX done.

*Nov 18 23:11:31:245 2024 A SSHS/7/MESSAGE: Received packet type 5.

*Nov 18 23:11:31:245 2024 A SSHS/7/EVENT: Received SSH2_MSG_SERVICE_REQUEST.

*Nov 18 23:11:31:245 2024 A SSHS/7/MESSAGE: Prepare packet[6].

*Nov 18 23:11:31:248 2024 A SSHS/7/MESSAGE: Received packet type 50.

*Nov 18 23:11:31:248 2024 A SSHS/7/EVENT: Received SSH2_MSG_USERAUTH_REQUEST.

*Nov 18 23:11:31:249 2024 A SSHS/7/EVENT: Username: admin, service: ssh-connection, method: none

*Nov 18 23:11:31:249 2024 A SSHS/7/EVENT: PAM: initializing for "admin", service:login, domain:

*Nov 18 23:11:31:316 2024 A SSHS/7/EVENT: Try authentication method none.

*Nov 18 23:11:31:316 2024 A SSHS/7/EVENT: Failed none for admin from 192.168.1.2 port 53387.

 

*Nov 18 23:11:31:316 2024 A SSHS/7/EVENT: Get authentication methods: publickey

*Nov 18 23:11:31:316 2024 A SSHS/7/MESSAGE: Prepare packet[51].

%Nov 18 23:11:31:323 2024 A SSHS/6/SSHS_LOG: Connection closed by 192.168.1.2.

 

*Nov 18 23:11:31:323 2024 A SSHS/7/EVENT: PAM: cleanup

%Nov 18 23:11:31:323 2024 A SSHS/6/SSHS_DISCONNECT: SSH user admin (IP: 192.168.1.2) disconnected from the server.

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

认证模式配置的对吗,看debug
*Nov 18 23:11:31:316 2024 A SSHS/7/EVENT: Try authentication method none.

服务器端已经配置ssh user admin service-type stelnet authentication-type publickey assign publickey sw1,还需要在哪配置认证模式?

zhiliao_13015 发表时间:1天前 更多>>

服务器端已经配置ssh user admin service-type stelnet authentication-type publickey assign publickey sw1,还需要在哪配置认证模式?

zhiliao_13015 发表时间:1天前

编辑答案

你正在编辑答案

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

分享扩散:

提出建议

    +

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

确定

亲~检测到您登陆的账号未在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. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

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

不规范转载

×

举报说明