From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id BBC0DE00736; Wed, 16 Dec 2015 15:49:49 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [69.89.18.3 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message X-Greylist: delayed 397 seconds by postgrey-1.32 at yocto-www; Wed, 16 Dec 2015 15:49:46 PST Received: from gproxy2-pub.mail.unifiedlayer.com (gproxy2-pub.mail.unifiedlayer.com [69.89.18.3]) by yocto-www.yoctoproject.org (Postfix) with SMTP id CE528E00321 for ; Wed, 16 Dec 2015 15:49:46 -0800 (PST) Received: (qmail 25496 invoked by uid 0); 16 Dec 2015 23:43:06 -0000 Received: from unknown (HELO CMOut01) (10.0.90.82) by gproxy2.mail.unifiedlayer.com with SMTP; 16 Dec 2015 23:43:06 -0000 Received: from box858.bluehost.com ([69.195.124.58]) by CMOut01 with id uPiy1r00B1Fiqph01Pj1Q4; Wed, 16 Dec 2015 16:43:05 -0700 X-Authority-Analysis: v=2.1 cv=Zc6OaKlA c=1 sm=1 tr=0 a=6215HlyIVfFolxfkGyTlSg==:117 a=6215HlyIVfFolxfkGyTlSg==:17 a=cNaOj0WVAAAA:8 a=f5113yIGAAAA:8 a=cwQF-0P1AAAA:8 a=DpUQn3bY8hUA:10 a=F7vrFIpsXqIA:10 a=wUQvQvOEmiQA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=iGHA9ds3AAAA:8 a=eOfYFywM0scAnwVjL0sA:9 a=QEXdDO2ut3YA:10 a=pGLkceISAAAA:8 a=oJM4AeZ8LBYvSwTzHyYA:9 a=a_-c3dPkAMzXE00-:21 a=_W_S_7VecoQA:10 Received: from [70.119.214.20] (port=50107 helo=[192.168.0.18]) by box858.bluehost.com with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1a9Lil-0000FF-1p; Wed, 16 Dec 2015 16:42:59 -0700 To: Khem Raj References: <566DBA83.8010506@montgomery1.com> <30C0DEC6-AB2D-406C-ACC3-CEAAE0DE796C@gmail.com> From: "Clay D. Montgomery" Message-ID: <5671F707.8060603@montgomery1.com> Date: Wed, 16 Dec 2015 17:43:03 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <30C0DEC6-AB2D-406C-ACC3-CEAAE0DE796C@gmail.com> X-Identified-User: {1231:box858.bluehost.com:montgor0:montgomery1.com} {sentby:smtp auth 70.119.214.20 authed with clay@montgomery1.com} Cc: yocto@yoctoproject.org Subject: Re: Which OpenSSH packages to use? X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2015 23:49:49 -0000 Content-Type: multipart/alternative; boundary="------------090209000609050906020602" --------------090209000609050906020602 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 12/13/2015 12:57 PM, Khem Raj wrote: > >> On Dec 13, 2015, at 10:35 AM, Clay D. Montgomery >> > wrote: >> >> I'm trying to understand which of these OpenSSH package options I >> should use with the CORE_IMAGE_EXTRA_INSTALL option: >> >> openssh >> openssh-sshd >> openssh-sftp >> openssh-sftp-server >> >> I want OpenSSH server functionality that supports both the scp and >> sftp protocols. I first tried just 'openssh' and found that it >> provides scp but not sftp. >> So then I tried the latter 3 options and I got sftp, but not scp. Do >> I really need all 4 of these to get scp and sftp? >> >> I checked this recipe guide and found it lists yet another package >> named 'packagegroup-core-ssh-openssh >> ' but it says >> nothing about sftp. >> http://recipes.yoctoproject.org/rrs/recipes/2.1/M2/ >> >> I would appreciate some advise. > > you can just do > > EXTRA_IMAGE_FEATURES += “ssh-server-openssl” in local.conf > > or > > IMAGE_FEATURES += "ssh-server-openssl" > > via a bbappend in your layer if you hinging on to same image recipe > otherwise if you have your own image recipe > then add it to that. > >> >> Thanks, Clay Montgomery >> >> >> -- >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto > Raj, Thanks for the help, but that does not seem to provide the required sftp server that is supposed to be here: /usr/lib/openssh/sftp-server I found that I have to add all 3 of these in the CORE_IMAGE_EXTRA_INSTALL list to get both scp and sftp clients and servers: openssh openssh-sftp openssh-sftp-server Thanks, Clay --------------090209000609050906020602 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On 12/13/2015 12:57 PM, Khem Raj wrote:

On Dec 13, 2015, at 10:35 AM, Clay D. Montgomery <clay@montgomery1.com> wrote:

I'm trying to understand which of these OpenSSH package options I should use with the CORE_IMAGE_EXTRA_INSTALL option:

    openssh
    openssh-sshd
    openssh-sftp
    openssh-sftp-server

I want OpenSSH server functionality that supports both the scp and sftp protocols. I first tried just 'openssh' and found that it provides scp but not sftp.
So then I tried the latter 3 options and I got sftp, but not scp. Do I really need all 4 of these to get scp and sftp?

I checked this recipe guide and found it lists yet another package named 'packagegroup-core-ssh-openssh' but it says nothing about sftp.
    http://recipes.yoctoproject.org/rrs/recipes/2.1/M2/

I would appreciate some advise.

you can just do 

EXTRA_IMAGE_FEATURES += “ssh-server-openssl” in local.conf 

or

IMAGE_FEATURES += "ssh-server-openssl"

via a bbappend in your layer if you hinging on to same image recipe otherwise if you have your own image recipe
then add it to that.


Thanks, Clay Montgomery


--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Raj,

  Thanks for the help, but that does not seem to provide the required sftp server that is supposed to be here:
    /usr/lib/openssh/sftp-server

I found that I have to add all 3 of these in the CORE_IMAGE_EXTRA_INSTALL list to get both scp and sftp clients and servers:
    openssh
    openssh-sftp
    openssh-sftp-server

Thanks, Clay

--------------090209000609050906020602--