Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-13055

SSH deployment causes "dispatch_protocol_error" warnings on target

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 3.2.0
    • Remote Linux
    • None
    • Deployment-Target: Linux on armv7a with OpenSSH daemon v6.2p2

      I'm currently developing for an embedded ARM devices running an opensshd v6.2p2. When an SSH connection was opened to this device (and held), I see

      sshd[857]: dispatch_protocol_error: type 128 seq 507

      messages every 10 seconds in the target's system log.

      This doesn't happen with different SSH/SFTP clients.

      I guess, the problem is in
      void SshConnectionPrivate::sendKeepAlivePacket()
      which is sending an SSH_MSG_INVALID (type 128) as keepalive. openssh's own ssh client is using SSH_MSG_IGNORE (type 2) for this purpose.

      The issue is not critical as it doesn't affect the functionality, but the logs on the target system get quite messy, especially because QtCreator tries to keep the connection alive as long as possible.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            bjkro Björn Krombholz
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes