Bug? SFTP on WP7700

I have a WP7700 running firmware release 9.1, and a WP8548 running firmware release 16.
I have modified the curl recipe in both to include libssh2.

The WP8548 can connect to an SFTP server, but the WP7700 cannot.
The libs and versions running on each appear to be identical.

This problem is very easy to reproduce, simply add libssh2 to the curl recipe and recompile.

I would love to have a developer chime in on this issue, I have been battling with it for weeks and I have a 150 WP7700s that need to get out in the field.

Did you add PACKAGECONFIG += “libssh2” at the end of content of curl_7.50.1.bb file?
root@swi-mdm9x28:~# cm info
Device: WP7702
IMEI: 352653090002775
FSN: VU735370350701
Firmware Version: SWI9X06Y_02.16.04.00 019853 jenkins 2018/05/15 19:28:37
Bootloader Version: SWI9X06Y_02.16.04.00 019853 jenkins 2018/05/15 19:28:37
MCU Version: 002.009
PRI Part Number (PN): 9907365
PRI Revision: 001.001
Carrier PRI Name: GENERIC
Carrier PRI Revision: 001.021_000
SKU: 1103530
Last Reset Cause: Reset, User Requested
Resets Count: Expected: 45 Unexpected: 11
root@swi-mdm9x28:~# curl -V
curl 7.50.1 (arm-poky-linux-gnueabi) libcurl/7.50.1 OpenSSL/1.0.2n libssh2/1.7.0
Protocols: file ftp ftps http https scp sftp
Features: Largefile NTLM NTLM_WB SSL TLS-SRP UnixSockets

For firmware release 9.1 you need to add it to the curl_7.58.0.bb file in meta-swi, but the process is the same. I don’t have any problem getting curl to list sftp in its protocol list, but when I attempt to use sftp it fails.

Following the same process with the WP8548 firmware release 16 works perfectly. The versions of curl and all the libraries it is compiled with are identical in these two releases, so it is not a version compatibility issue.

There is a test server at rebex.net that you can use to test it, I would be interested in seeing the results.
curl -v -k -u demo:password sftp://test.rebex.net

I can use dropbear on the WP7700 to connect to this server, but not curl.

@Sierra_JordanZhao have you had a chance to confirm the issue?

@uncleshibba, sorry for late reply.
Please refer to below link and see if it helps:


Hello Jordan,

I am actually the author of the the write up you linked.

I know what I should be doing to get this working, but there seems to be a problem with the firmware release for the WP7700.
If you could confirm for me that there was a bug in that firmware release that would be good.
If you know of a fix that would be even better.