跳转至内容
  • 最近帖子
  • 0 未读帖子 0
  • 板块分类
  • 服务状态
  • 跳转官网
  • 帮助文档
皮肤
  • 浅色
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • 深色
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(不使用皮肤)
  • 不使用皮肤
折叠

XTerminal 反馈社区

  1. 首页
  2. 版块
  3. xterminal 专区
  4. CentOS5.11不能ssh远程登录

CentOS5.11不能ssh远程登录

已定时 已固定 已锁定 已移动 xterminal 专区
4 帖子 2 发布者 291 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
回复
  • 在新帖中回复
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • I 离线
    I 离线
    ivarcn
    发表于 最后由 编辑
    #1

    Local ident: 'SSH-2.0-ssh2js1.15.0'
    Client: Trying 10.2.5.11 on port 22 ...
    Socket connected
    Remote ident: 'SSH-2.0-OpenSSH_4.3'
    Outbound: Sending KEXINIT
    Inbound: Handshake in progress
    Handshake: (local) KEX method: curve25519-sha256@libssh.org,curve25519-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group15-sha512,diffie-hellman-group16-sha512,diffie-hellman-group17-sha512,diffie-hellman-group18-sha512,ext-info-c,kex-strict-c-v00@openssh.com
    Handshake: (remote) KEX method: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
    Handshake: no matching key exchange algorithm
    Outbound: Sending DISCONNECT (3)
    Handshake failed: no matching key exchange algorithm
    read ECONNRESET

    1 条回复 最后回复
    0
    • L 离线
      L 离线
      lybing
      老铁
      发表于 最后由 编辑
      #2

      ssh高级配置中选择一下对应的交换算法试试。

      1 条回复 最后回复
      0
      • I 离线
        I 离线
        ivarcn
        发表于 最后由 编辑
        #3

        交换算法都添加了,也不行,用windows自带终端ssh root@10.2.5.11,是可以连接上的,某shell 7.x也可以,不知道是不是不支持老系统的ssh协议?

        Handshake: (remote) KEX method: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
        Handshake: KEX algorithm: diffie-hellman-group14-sha1
        Handshake: (local) Host key format: ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa
        Handshake: (remote) Host key format: ssh-rsa,ssh-dss
        Handshake: Host key format: ssh-rsa
        Handshake: (local) C->S cipher: aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr
        Handshake: (remote) C->S cipher: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
        Handshake: C->S Cipher: aes128-ctr
        Handshake: (local) S->C cipher: aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr
        Handshake: (remote) S->C cipher: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
        Handshake: S->C cipher: aes128-ctr
        Handshake: (local) C->S MAC: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
        Handshake: (remote) C->S MAC: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
        Handshake: C->S MAC: hmac-sha1
        Handshake: (local) S->C MAC: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
        Handshake: (remote) S->C MAC: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
        Handshake: S->C MAC: hmac-sha1
        Handshake: (local) C->S compression: none,zlib@openssh.com,zlib
        Handshake: (remote) C->S compression: none,zlib@openssh.com
        Handshake: C->S compression: none
        Handshake: (local) S->C compression: none,zlib@openssh.com,zlib
        Handshake: (remote) S->C compression: none,zlib@openssh.com
        Handshake: S->C compression: none
        Outbound: Sending KEXDH_INIT
        Received DH Reply
        Host accepted by default (no verification)
        Host accepted (verified)
        Outbound: Sending NEWKEYS
        Inbound: NEWKEYS
        Verifying signature ...
        Verified signature
        Handshake completed
        Outbound: Sending SERVICE_REQUEST (ssh-userauth)
        Inbound: Received SERVICE_ACCEPT (ssh-userauth)
        Outbound: Sending USERAUTH_REQUEST (none)
        Inbound: Received USERAUTH_FAILURE (publickey,password)
        Client: none auth failed
        Outbound: Sending USERAUTH_REQUEST (password)
        Inbound: Received USERAUTH_FAILURE (publickey,password)
        Client: password auth failed
        Outbound: Sending USERAUTH_REQUEST (keyboard-interactive)
        Inbound: Received USERAUTH_FAILURE (publickey,password)
        Client: keyboard-interactive auth failed
        All configured authentication methods failed

        L 1 条回复 最后回复
        0
        • I ivarcn

          交换算法都添加了,也不行,用windows自带终端ssh root@10.2.5.11,是可以连接上的,某shell 7.x也可以,不知道是不是不支持老系统的ssh协议?

          Handshake: (remote) KEX method: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
          Handshake: KEX algorithm: diffie-hellman-group14-sha1
          Handshake: (local) Host key format: ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa
          Handshake: (remote) Host key format: ssh-rsa,ssh-dss
          Handshake: Host key format: ssh-rsa
          Handshake: (local) C->S cipher: aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr
          Handshake: (remote) C->S cipher: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
          Handshake: C->S Cipher: aes128-ctr
          Handshake: (local) S->C cipher: aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr
          Handshake: (remote) S->C cipher: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
          Handshake: S->C cipher: aes128-ctr
          Handshake: (local) C->S MAC: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
          Handshake: (remote) C->S MAC: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
          Handshake: C->S MAC: hmac-sha1
          Handshake: (local) S->C MAC: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
          Handshake: (remote) S->C MAC: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
          Handshake: S->C MAC: hmac-sha1
          Handshake: (local) C->S compression: none,zlib@openssh.com,zlib
          Handshake: (remote) C->S compression: none,zlib@openssh.com
          Handshake: C->S compression: none
          Handshake: (local) S->C compression: none,zlib@openssh.com,zlib
          Handshake: (remote) S->C compression: none,zlib@openssh.com
          Handshake: S->C compression: none
          Outbound: Sending KEXDH_INIT
          Received DH Reply
          Host accepted by default (no verification)
          Host accepted (verified)
          Outbound: Sending NEWKEYS
          Inbound: NEWKEYS
          Verifying signature ...
          Verified signature
          Handshake completed
          Outbound: Sending SERVICE_REQUEST (ssh-userauth)
          Inbound: Received SERVICE_ACCEPT (ssh-userauth)
          Outbound: Sending USERAUTH_REQUEST (none)
          Inbound: Received USERAUTH_FAILURE (publickey,password)
          Client: none auth failed
          Outbound: Sending USERAUTH_REQUEST (password)
          Inbound: Received USERAUTH_FAILURE (publickey,password)
          Client: password auth failed
          Outbound: Sending USERAUTH_REQUEST (keyboard-interactive)
          Inbound: Received USERAUTH_FAILURE (publickey,password)
          Client: keyboard-interactive auth failed
          All configured authentication methods failed

          L 离线
          L 离线
          lybing
          老铁
          发表于 最后由 编辑
          #4

          @ivarcn 这回是密码错了吧?

          1 条回复 最后回复
          0

          你好!看起来您对这段对话很感兴趣,但您还没有一个账号。

          厌倦了每次访问都刷到同样的帖子?您注册账号后,您每次返回时都能精准定位到您上次浏览的位置,并可选择接收新回复通知(通过邮件或推送通知)。您还能收藏书签、为帖子顶,向社区成员表达您的欣赏。

          有了你的建议,这篇帖子会更精彩哦 💗

          注册 登录
          回复
          • 在新帖中回复
          登录后回复
          • 从旧到新
          • 从新到旧
          • 最多赞同


          • 登录

          • 没有帐号? 注册

          • 登录或注册以进行搜索。

          11

          在线

          6.3k

          用户

          3.0k

          主题

          8.8k

          帖子
          雨云500M带宽服务器推荐🔥
          • 第一个帖子
            最后一个帖子
          0
          • 最近帖子
          • 未读帖子 0
          • 板块分类
          • 服务状态
          • 跳转官网
          • 帮助文档