All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Clay D. Montgomery" <clay@montgomery1.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: Which OpenSSH packages to use?
Date: Wed, 16 Dec 2015 17:43:03 -0600	[thread overview]
Message-ID: <5671F707.8060603@montgomery1.com> (raw)
In-Reply-To: <30C0DEC6-AB2D-406C-ACC3-CEAAE0DE796C@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1893 bytes --]

On 12/13/2015 12:57 PM, Khem Raj wrote:
>
>> On Dec 13, 2015, at 10:35 AM, Clay D. Montgomery 
>> <clay@montgomery1.com <mailto: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 
>> <http://recipes.yoctoproject.org/rrs/recipedetail/122/>' 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 <mailto: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


[-- Attachment #2: Type: text/html, Size: 4534 bytes --]

      reply	other threads:[~2015-12-16 23:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-13 18:35 Which OpenSSH packages to use? Clay D. Montgomery
2015-12-13 18:57 ` Khem Raj
2015-12-16 23:43   ` Clay D. Montgomery [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5671F707.8060603@montgomery1.com \
    --to=clay@montgomery1.com \
    --cc=raj.khem@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.