Skip to contentSkip to conversation

problem with sft in fsl-image-gui

DISCUSSION Diego Gonzalez 2 participants 3 messages Sep 19, 2013 – Sep 25, 2013

lore
Share & tools
lore
#0 lore raw

Hello everybody,

we have an issue with sftp server in our fsl-image-gui. When we try to connect using sftp, then we get an error saying connection closed.
After a closer look inside the fsl-image-gui , we saw that /usr/bin/sftp-server directory is not installed in this image. Also, we vericated that ssh connection works good.

We already now that this work fine in fsl-core-image-sato-sdk. In fact you can find out that /usr/bin/sftp-server directory exists. Trying to fix it we put several commands inside the local.conf . However we didn't fix it.

How can I solve it?.

Cheers

Diego González González
Dpto. de Control Industrial HORUS HARDWARE S.A.
Pol Ind Europolis C/Berna nº4
28232 Las Rozas de Madrid
[email protected]

#1 lore raw

Hello,

we discovered how to add sftp function
in our customizable image. There's a package called eclipse-debug (~/poky/meta/recipes-core/packagegroup), which you can find a RDPENDS to openssh-sftp-server.

So you have at
least 4 possibilities to add it in your image (select just one) :

* In a

	customizable image or in the local.conf : IMAGE_FEATURES += " …
	eclipse-debug"

* In a

	customizable image : IMAGE_INSTALL += " \

	…. \
openssh-sftp-server
										\

"

* In the
local.conf : IMAGE_INSTALL_append = " openssh-sftp-server"

* In the

	local.conf : CORE_IMAGE_EXTRA_INSTALL += " openssh-sftp-server"

I'm asking my self : why ?

Thank you,

Cheers

Diego González González
Dpto. de Control Industrial HORUS HARDWARE S.A.
Pol Ind Europolis C/Berna nº4
28232 Las Rozas de Madrid
[email protected]

Quoted 18 lines · Diego Gonzalez

Hello everybody,

we have an issue with sftp server in our fsl-image-gui. When we try to connect using sftp, then we get an error saying connection closed.
After a closer look inside the fsl-image-gui , we saw that /usr/bin/sftp-server directory is not installed in this image. Also, we vericated that ssh connection works good.

We already now that this work fine in fsl-core-image-sato-sdk. In fact you can find out that /usr/bin/sftp-server directory exists. Trying to fix it we put several commands inside the local.conf . However we didn't fix it.

How can I solve it?.

Cheers

Diego González González
Dpto. de Control Industrial HORUS HARDWARE S.A.
Pol Ind Europolis C/Berna nº4
28232 Las Rozas de Madrid
[email protected]

#2 lore raw
Quoted 8 lines · Diego Gonzalez

Hello,

we discovered how to add *sftp* function in our customizable image.
There's a package called eclipse-debug (~/poky/meta/recipes-core/packagegroup), which you can find a RDPENDS to o *penssh-sftp-server.*

Quoted 9 lines

So you have at least 4 possibilities to add it in your image (select just one) :

   1.

   In a customizable image or in the local.conf : IMAGE_FEATURES += " …
   eclipse-debug"

Pulls in lot more than sftp

Quoted 13 lines
   1.
   2.

   In a customizable image : IMAGE_INSTALL += " \

                              …. \

                              openssh-sftp-server \

                              "

If you build multiple images this make it go into one specific image

Quoted 7 lines
   1.
      2.

   In the local.conf : IMAGE_INSTALL_append = " openssh-sftp-server"

Adds it to all images

Quoted 7 lines
   1.
   2.

   In the local.conf : CORE_IMAGE_EXTRA_INSTALL += " openssh-sftp-server"

If you inherit core-image you can use this, all layers which define image recipes do not use core-image class

Quoted 53 lines
   1.

I'm asking my self : why ?

Thank you,

Cheers

Diego González González
Dpto. de Control Industrial

HORUS HARDWARE S.A.
Pol Ind Europolis C/Berna nº4
28232 Las Rozas de Madrid [email protected] <javascript:_e({}, 'cvml', '[email protected]');>

On Thu, 09/19/2013 10:27 AM, Diego Gonzalez <[email protected]<javascript:_e({}, 'cvml', '[email protected]');>> wrote:

Hello everybody,

we have an issue with sftp server in our fsl-image-gui. When we try to connect using sftp, then we get an error saying connection closed. After a closer look inside the fsl-image-gui , we saw that /usr/bin/sftp-server directory is not installed in this image. Also, we vericated that ssh connection works good.

We already now that this work fine in fsl-core-image-sato-sdk. In fact you can find out that /usr/bin/sftp-server directory exists. Trying to fix it we put several commands inside the local.conf . However we didn't fix it.

How can I solve it?.

Cheers

Diego González González
Dpto. de Control Industrial

HORUS HARDWARE S.A.
Pol Ind Europolis C/Berna nº4
28232 Las Rozas de Madrid [email protected] <javascript:_e({}, 'cvml', '[email protected]');>