QtCreator SFTP initialization failed

Showing results for 
Search instead for 
Did you mean: 

QtCreator SFTP initialization failed

Contributor III

Hi everyone,

I have tried to upload a new program so click the run button through QtCreator to imx6SoloX Sabre Board but get an error that is "SFTP initialization failed". I can connect the device successfully. How can I solve this problem? 

imx6Solox Linux Kernel : 3.10.53-1.1.0_ga+g496fbe0

The Compile Output:

13:33:04: Running steps for project deneme...
13:33:04: Configuration unchanged, skipping qmake step.
13:33:04: Starting: "/usr/bin/make"
make: Nothing to be done for `first'.
13:33:04: The process "/usr/bin/make" exited normally.
13:33:04: Connecting to device...
13:33:05: The remote file system has 148 megabytes of free space, going ahead.
13:33:05: Deploy step finished.
13:33:05: SFTP initialization failed: The SFTP server finished unexpectedly with exit code 127.
13:33:05: Deploy step failed.
Error while building/deploying project deneme (kit: imx SoloX)
When executing step "Upload files via SFTP"
13:33:05: Elapsed time: 00:00.

Device Test:

Connecting to host...
Checking kernel version...
Linux 3.10.53-1.1.0_ga+g496fbe0 armv7l

Checking if specified ports are available...
All specified ports are available.

Device test finished successfully.

Labels (1)
Tags (2)
0 Kudos
1 Reply

Contributor III

Hi  Sahin,

you can follow the bellow steps may be helpful to you.

1. switch to Projects mode (Ctrl-4)
2. for board kit choose Run tab
3. in Deployment settings disable step "Upload files via SFTP"
4. push the button "Add Deploy Step"
5. choose "Custom Process Step"
6. write in Command: scp
7. write in Arguments: local_file_path root@ you _board_ip:board_remote_directory

if you find any other answer please share it here.

Best Regards

Nandish sg