* Provide sftp-client support in yocto
@ 2013-10-01 7:52 Amit Tomer
2013-10-01 8:12 ` diego
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Amit Tomer @ 2013-10-01 7:52 UTC (permalink / raw)
To: yocto-request, yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 399 bytes --]
I am new to OpenEmbedded Yocto project and have a requirement to provide
sftp-client support on my target board.
Sftp-server bins are already packed into final image and is installed at
tmp/work/fkm-poky-linux-gnueabi/openssh/6.1p1-r3/package/usr/lib/openssh/sftp-server
Now ,same way Do I have to install stfp client bins also or is there any
other way to go about it??
Thanks
Amit
[-- Attachment #2: Type: text/html, Size: 678 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Provide sftp-client support in yocto 2013-10-01 7:52 Provide sftp-client support in yocto Amit Tomer @ 2013-10-01 8:12 ` diego 2013-10-01 8:47 ` Anders Darander [not found] ` <CABHD4K-1p9Va1_+xjtLsiKkMX8ak1hUvZikNFMnU7BZsZ49WEg@mail.gmail.com> 2 siblings, 0 replies; 6+ messages in thread From: diego @ 2013-10-01 8:12 UTC (permalink / raw) To: yocto [-- Attachment #1: Type: text/plain, Size: 883 bytes --] El 01/10/2013 9:52, Amit Tomer escribió: > I am new to OpenEmbedded Yocto project and have a requirement to provide > sftp-client support on my target board. > > Sftp-server bins are already packed into final image and is installed at > > tmp/work/fkm-poky-linux-gnueabi/openssh/6.1p1-r3/package/usr/lib/openssh/sftp-server > > Now ,same way Do I have to install stfp client bins also or is there > any other way to go about it?? > > Thanks > Amit > > > > > > > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto I had the same problem and I posted this solution: https://lists.yoctoproject.org/pipermail/yocto/2013-September/018477.html Regards -- Diego González González Dpto. de Control Industrial HORUS HARDWARE S.A. diego.gonzalez@horus.es [-- Attachment #2: Type: text/html, Size: 2407 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Provide sftp-client support in yocto 2013-10-01 7:52 Provide sftp-client support in yocto Amit Tomer 2013-10-01 8:12 ` diego @ 2013-10-01 8:47 ` Anders Darander [not found] ` <CABHD4K-1p9Va1_+xjtLsiKkMX8ak1hUvZikNFMnU7BZsZ49WEg@mail.gmail.com> 2 siblings, 0 replies; 6+ messages in thread From: Anders Darander @ 2013-10-01 8:47 UTC (permalink / raw) To: yocto * Amit Tomer <amittomer25@gmail.com> [131001 09:53]: > I am new to OpenEmbedded Yocto project and have a requirement to provide > sftp-client support on my target board. > Sftp-server bins are already packed into final image and is installed at > tmp/work/fkm-poky-linux-gnueabi/openssh/6.1p1-r3/package/usr/lib/openssh/ > sftp-server Yes, that's correct. The server should be installable by adding openssh-sftp-server to your image. (Though, I guess you already figured this one out). > Now ,same way Do I have to install stfp client bins also or is there any other > way to go about it?? It's already being installed to a package named openssh-sftp. Thus, it should be enough to add openssh-sftp to your image. Cheers, Anders -- Anders Darander ChargeStorm AB / eStorm AB ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <CABHD4K-1p9Va1_+xjtLsiKkMX8ak1hUvZikNFMnU7BZsZ49WEg@mail.gmail.com>]
[parent not found: <20131001132628.GB6493@ad.chargestorm.se>]
[parent not found: <CABHD4K-4Y3EwtJrVpqWp-Y_GxBHXCvhqBNYrLeBEf==eT0ge=w@mail.gmail.com>]
* Re: Provide sftp-client support in yocto [not found] ` <CABHD4K-4Y3EwtJrVpqWp-Y_GxBHXCvhqBNYrLeBEf==eT0ge=w@mail.gmail.com> @ 2013-10-01 14:07 ` Anders Darander 2013-10-01 14:18 ` Amit Tomer 0 siblings, 1 reply; 6+ messages in thread From: Anders Darander @ 2013-10-01 14:07 UTC (permalink / raw) To: Amit Tomer; +Cc: yocto@yoctoproject.org Amit Tomer <amittomer25@gmail.com> wrote: >Thansk Anders for your kind response > > >Yes we are created our image and can see there are some IMAGE_INSTALL >already used Good. >But when I add IMAGE_INSTALL += "openssh-sftp" > > >Getting below error > > >Error: openssh-sftp not found in the base feeds (zzz_pyp_ii >cortexa15hf-vfp-neon cortexa15hf-vfp armv7ahf-vfp-neon armv7ahf-vfp >armv6hf-vfp armv5ehf-vfp armv5hf-vfp noarch any all). > > >Do we need to do something more here That should have been enough. If you look in tmp/work/fkm-poky-linux-gnueabi/openssh/6.1p1-r3/packages-split, do you see openssh-sftp there, or which packages do you have there? Which version of Yocto / Poky are you using? What layers do you have enabled? Cheers, Anders >Thanks > >Amit > > > > > >On Tue, Oct 1, 2013 at 6:56 PM, Anders Darander <anders@chargestorm.se> >wrote: > >* Amit Tomer <amittomer25@gmail.com> [131001 14:57]: > >> Just now I have seen your responses ,didn't get any notification of >your >> responses on my mail-id. > >> Let me present my problem again to you guys. > >> We have stfp-server running fine on put target machine and is running >as part >> of sshd daemon. > >Ok, that sounds good. Then the server is apparantly no problem for you. > > >> But when we try to connect to other machine from target board, sftp >is not >> working becaue our borad is set to run as sftp -client. > >> An SFTP client program called sftp is already insatlled to tmp/work/ >> fkm-poky-linux-gnueabi/openssh/6.1p1-r3/package/usr/bin. > >The build process built sftp (the client) as a part of building >openssh. >The client was packaged into a separate package, called openssh-sftp. > > >> But on Target I could not find this sftp .bins. > >Now you need to install that package, openssh-sftp, to your image. > >If you have created your own image, just add openssh-sftp to >IMAGE_INSTALL. > >If you're not creating your own images, I'd strongly suggest that you >do >that. (It'll make all your customizations a lot easier in the end). See >http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#usingpoky-extend-customimage-custombb >for more information. > >I hope this answers your question. > >Cheers, >Anders > > >> Now we want this stfp run as some daemon or part of sshd daemon >itself. > >> Anders: It's already being installed to a package named openssh-sftp > >> We don't have package named openssh-sftp ,we have package named with >openssh >> only > >> Thanks >> Amit > > > > > > > >> On Tue, Oct 1, 2013 at 1:22 PM, Amit Tomer <amittomer25@gmail.com> >wrote: > >> I am new to OpenEmbedded Yocto project and have a requirement to >provide >> sftp-client support on my target board. > >> Sftp-server bins are already packed into final image and is >installed at > >> >tmp/work/fkm-poky-linux-gnueabi/openssh/6.1p1-r3/package/usr/lib/openssh/ >> sftp-server > >> Now ,same way Do I have to install stfp client bins also or is >there any >> other way to go about it?? > >> Thanks >> Amit > > > > > > > >-- >Anders Darander >ChargeStorm AB / eStorm AB -- Anders Darander ChargeStorm AB Tel: +46 702 44 84 36 Laxholmstorget 3 Email: anders@chargestorm.se 602 21 Norrköping Web: www.chargestorm.se Sent from my Android phone with K-9 Mail. Please excuse my brevity. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Provide sftp-client support in yocto 2013-10-01 14:07 ` Anders Darander @ 2013-10-01 14:18 ` Amit Tomer 2013-10-01 14:30 ` Anders Darander 0 siblings, 1 reply; 6+ messages in thread From: Amit Tomer @ 2013-10-01 14:18 UTC (permalink / raw) To: Anders Darander; +Cc: yocto@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 4122 bytes --] Yes Anders, I can see openssh-sftp folder inside "tmp/work/fkm-poky-linux- gnueabi/openssh/6.1p1-r3/packages-split".But its empty one. DISTRO = "poky" DISTRO_VERSION = "1.4.2" This is taken from build confriguation. Thanks Amit. On Tue, Oct 1, 2013 at 7:37 PM, Anders Darander <anders@chargestorm.se>wrote: > > > Amit Tomer <amittomer25@gmail.com> wrote: > >Thansk Anders for your kind response > > > > > >Yes we are created our image and can see there are some IMAGE_INSTALL > >already used > > Good. > > >But when I add IMAGE_INSTALL += "openssh-sftp" > > > > > >Getting below error > > > > > >Error: openssh-sftp not found in the base feeds (zzz_pyp_ii > >cortexa15hf-vfp-neon cortexa15hf-vfp armv7ahf-vfp-neon armv7ahf-vfp > >armv6hf-vfp armv5ehf-vfp armv5hf-vfp noarch any all). > > > > > >Do we need to do something more here > > That should have been enough. > > If you look in > tmp/work/fkm-poky-linux-gnueabi/openssh/6.1p1-r3/packages-split, do you see > openssh-sftp there, or which packages do you have there? > > Which version of Yocto / Poky are you using? What layers do you have > enabled? > > Cheers, > Anders > > >Thanks > > > >Amit > > > > > > > > > > > >On Tue, Oct 1, 2013 at 6:56 PM, Anders Darander <anders@chargestorm.se> > >wrote: > > > >* Amit Tomer <amittomer25@gmail.com> [131001 14:57]: > > > >> Just now I have seen your responses ,didn't get any notification of > >your > >> responses on my mail-id. > > > >> Let me present my problem again to you guys. > > > >> We have stfp-server running fine on put target machine and is running > >as part > >> of sshd daemon. > > > >Ok, that sounds good. Then the server is apparantly no problem for you. > > > > > >> But when we try to connect to other machine from target board, sftp > >is not > >> working becaue our borad is set to run as sftp -client. > > > >> An SFTP client program called sftp is already insatlled to tmp/work/ > >> fkm-poky-linux-gnueabi/openssh/6.1p1-r3/package/usr/bin. > > > >The build process built sftp (the client) as a part of building > >openssh. > >The client was packaged into a separate package, called openssh-sftp. > > > > > >> But on Target I could not find this sftp .bins. > > > >Now you need to install that package, openssh-sftp, to your image. > > > >If you have created your own image, just add openssh-sftp to > >IMAGE_INSTALL. > > > >If you're not creating your own images, I'd strongly suggest that you > >do > >that. (It'll make all your customizations a lot easier in the end). See > > > http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#usingpoky-extend-customimage-custombb > >for more information. > > > >I hope this answers your question. > > > >Cheers, > >Anders > > > > > >> Now we want this stfp run as some daemon or part of sshd daemon > >itself. > > > >> Anders: It's already being installed to a package named openssh-sftp > > > >> We don't have package named openssh-sftp ,we have package named with > >openssh > >> only > > > >> Thanks > >> Amit > > > > > > > > > > > > > > > >> On Tue, Oct 1, 2013 at 1:22 PM, Amit Tomer <amittomer25@gmail.com> > >wrote: > > > >> I am new to OpenEmbedded Yocto project and have a requirement to > >provide > >> sftp-client support on my target board. > > > >> Sftp-server bins are already packed into final image and is > >installed at > > > >> > >tmp/work/fkm-poky-linux-gnueabi/openssh/6.1p1-r3/package/usr/lib/openssh/ > >> sftp-server > > > >> Now ,same way Do I have to install stfp client bins also or is > >there any > >> other way to go about it?? > > > >> Thanks > >> Amit > > > > > > > > > > > > > > > >-- > >Anders Darander > >ChargeStorm AB / eStorm AB > > -- > Anders Darander > ChargeStorm AB Tel: +46 702 44 84 36 > Laxholmstorget 3 Email: anders@chargestorm.se > 602 21 Norrköping Web: www.chargestorm.se > > Sent from my Android phone with K-9 Mail. Please excuse my brevity. > [-- Attachment #2: Type: text/html, Size: 6497 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Provide sftp-client support in yocto 2013-10-01 14:18 ` Amit Tomer @ 2013-10-01 14:30 ` Anders Darander 0 siblings, 0 replies; 6+ messages in thread From: Anders Darander @ 2013-10-01 14:30 UTC (permalink / raw) To: Amit Tomer; +Cc: yocto@yoctoproject.org Amit Tomer <amittomer25@gmail.com> wrote: >Yes Anders, I can see openssh-sftp folder inside >"tmp/work/fkm-poky-linux-gnueabi/openssh/6.1p1-r3/packages-split".But >its empty one. Ok, then the sftp binary should have been packaged into openssh-sftp. The question is then why your package is being empty. You said that the sftp binary was available in tmp/work/fkm-poky-linux-gnueabi/openssh/6.1p1-r3/package/usr/bin, cab you so find out there? Do you get any clue from the packaging log as to why openssh-sftp is empty? If you run 'bitbake openssh -e' and search for FILES_openssh-sftp, what does it tell you? In which directory under packages-split can you find sftp? > >DISTRO = "poky" > >DISTRO_VERSION = "1.4.2" It should work. Unless there something that overrides the packaging (and splitting) step in any other layer you might have configured. I won't be able to run any tests on my own until early next week. If necessary, I hope that someone else might be able to help you until then. Cheers, Anders > >This is taken from build confriguation. > > >Thanks > >Amit. > > > >On Tue, Oct 1, 2013 at 7:37 PM, Anders Darander <anders@chargestorm.se> >wrote: > > > >Amit Tomer <amittomer25@gmail.com> wrote: >>Thansk Anders for your kind response >> >> >>Yes we are created our image and can see there are some IMAGE_INSTALL >>already used > >Good. > > >>But when I add IMAGE_INSTALL += "openssh-sftp" >> >> >>Getting below error >> >> >>Error: openssh-sftp not found in the base feeds (zzz_pyp_ii >>cortexa15hf-vfp-neon cortexa15hf-vfp armv7ahf-vfp-neon armv7ahf-vfp >>armv6hf-vfp armv5ehf-vfp armv5hf-vfp noarch any all). >> >> >>Do we need to do something more here > >That should have been enough. > >If you look in >tmp/work/fkm-poky-linux-gnueabi/openssh/6.1p1-r3/packages-split, do you >see openssh-sftp there, or which packages do you have there? > >Which version of Yocto / Poky are you using? What layers do you have >enabled? > >Cheers, >Anders > > >>Thanks >> >>Amit >> >> >> >> >> >>On Tue, Oct 1, 2013 at 6:56 PM, Anders Darander ><anders@chargestorm.se> >>wrote: >> >>* Amit Tomer <amittomer25@gmail.com> [131001 14:57]: >> >>> Just now I have seen your responses ,didn't get any notification of >>your >>> responses on my mail-id. >> >>> Let me present my problem again to you guys. >> >>> We have stfp-server running fine on put target machine and is >running >>as part >>> of sshd daemon. >> >>Ok, that sounds good. Then the server is apparantly no problem for >you. >> >> >>> But when we try to connect to other machine from target board, sftp >>is not >>> working becaue our borad is set to run as sftp -client. >> >>> An SFTP client program called sftp is already insatlled to tmp/work/ >>> fkm-poky-linux-gnueabi/openssh/6.1p1-r3/package/usr/bin. >> >>The build process built sftp (the client) as a part of building >>openssh. >>The client was packaged into a separate package, called openssh-sftp. >> >> >>> But on Target I could not find this sftp .bins. >> >>Now you need to install that package, openssh-sftp, to your image. >> >>If you have created your own image, just add openssh-sftp to >>IMAGE_INSTALL. >> >>If you're not creating your own images, I'd strongly suggest that you >>do >>that. (It'll make all your customizations a lot easier in the end). >See >>http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#usingpoky-extend-customimage-custombb >>for more information. >> >>I hope this answers your question. >> >>Cheers, >>Anders >> >> >>> Now we want this stfp run as some daemon or part of sshd daemon >>itself. >> >>> Anders: It's already being installed to a package named openssh-sftp >> >>> We don't have package named openssh-sftp ,we have package named with >>openssh >>> only >> >>> Thanks >>> Amit >> >> >> >> >> >> >> >>> On Tue, Oct 1, 2013 at 1:22 PM, Amit Tomer <amittomer25@gmail.com> >>wrote: >> >>> I am new to OpenEmbedded Yocto project and have a requirement to >>provide >>> sftp-client support on my target board. >> >>> Sftp-server bins are already packed into final image and is >>installed at >> >>> >>tmp/work/fkm-poky-linux-gnueabi/openssh/6.1p1-r3/package/usr/lib/openssh/ >>> sftp-server >> >>> Now ,same way Do I have to install stfp client bins also or is >>there any >>> other way to go about it?? >> >>> Thanks >>> Amit >> >> >> >> >> >> >> >>-- >>Anders Darander >>ChargeStorm AB / eStorm AB > >-- >Anders Darander > >ChargeStorm AB Tel: +46 702 44 84 36 >Laxholmstorget 3 Email: anders@chargestorm.se >602 21 Norrköping Web: www.chargestorm.se > >Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- Anders Darander ChargeStorm AB Tel: +46 702 44 84 36 Laxholmstorget 3 Email: anders@chargestorm.se 602 21 Norrköping Web: www.chargestorm.se Sent from my Android phone with K-9 Mail. Please excuse my brevity. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-10-01 14:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-01 7:52 Provide sftp-client support in yocto Amit Tomer
2013-10-01 8:12 ` diego
2013-10-01 8:47 ` Anders Darander
[not found] ` <CABHD4K-1p9Va1_+xjtLsiKkMX8ak1hUvZikNFMnU7BZsZ49WEg@mail.gmail.com>
[not found] ` <20131001132628.GB6493@ad.chargestorm.se>
[not found] ` <CABHD4K-4Y3EwtJrVpqWp-Y_GxBHXCvhqBNYrLeBEf==eT0ge=w@mail.gmail.com>
2013-10-01 14:07 ` Anders Darander
2013-10-01 14:18 ` Amit Tomer
2013-10-01 14:30 ` Anders Darander
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.