Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 3.2.0
-
None
-
38ffff88da1f0e1b2aa6e6439d6324f717f83191
Description
I'm the developer for Dropbear SSH, I've had a report that Qt Creator can't connect to 2014.64:
11:37:10: Connecting to device...
11:37:11: Connection error: SSH Protocol error: Maximum packet size too low.
11:37:11: Deploy step failed.
I think the check in Qt Creator is wrong:
https://qt.gitorious.org/qt-creator/qt-creator/source/4c76e40617d22d3578bb95973b54b0e266591e7c:src/libs/utils/ssh/sshchannel.cpp#L138
const quint32 MinMaxPacketSize = 32768;
...
if (remoteMaxPacketSize < MinMaxPacketSize)
The spec https://tools.ietf.org/html/rfc4254#section-5.1 doesn't have a minimum maximum packet size for channels. The number 32768 comes from the protocol layer above in https://tools.ietf.org/html/rfc4253#section-6.1
It will be easy to increase Dropbear's limit slightly (currently 32759, it allows for headers between the channel and transport layers). It's probably worth fixing in Qt Creator too.
Attachments
For Gerrit Dashboard: QTCREATORBUG-12884 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
94623,2 | SSH: Fix maximum packet size check. | 3.2 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |