Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 3.6.0, Qt Creator 4.1.0
-
None
-
d7178b88c4b2572fb83b28f8178940766216deed (qt-creator/qt-creator/master)
Description
Clicking the test button shows "SSH connection failure: Server rejected password."
The username and password are definitely correct, and attempting to SSH into the same device from Linux command line works perfectly fine.
The command used to start the SSH server on the device is:
dropbear -j -k -B -r $rsa_key -d $dss_key
The Dropbear server uses completely default configuration. The default shell is a custom shell. The server indicates that it does not support inline commands (i.e., ssh user@host 'foo'). The custom shell, given some input X, will become /bin/sh.
I don't know if the presence of a custom shell makes this problem unsolvable, but perhaps an option could be added to send additional input X (as mentioned above) to the server after connecting, and then Creator could finish sending whatever other commands it intended to.
I'm not too familiar with Unix shell initialization process so I don't know if Qt Creator should expand its functionality to handle this situation or whether the device should be set up differently. In any case a better error message would help too.