All of lore.kernel.org
 help / color / mirror / Atom feed
* Which OpenSSH packages to use?
@ 2015-12-13 18:35 Clay D. Montgomery
  2015-12-13 18:57 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Clay D. Montgomery @ 2015-12-13 18:35 UTC (permalink / raw)
  To: yocto

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

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.

Thanks, Clay Montgomery



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Which OpenSSH packages to use?
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2015-12-13 18:57 UTC (permalink / raw)
  To: Clay D. Montgomery; +Cc: yocto


[-- Attachment #1.1: Type: text/plain, Size: 1401 bytes --]


> 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 <http://recipes.yoctoproject.org/rrs/recipedetail/122/>' but it says nothing about sftp.
>     http://recipes.yoctoproject.org/rrs/recipes/2.1/M2/ <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


[-- Attachment #1.2: Type: text/html, Size: 2817 bytes --]

[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Which OpenSSH packages to use?
  2015-12-13 18:57 ` Khem Raj
@ 2015-12-16 23:43   ` Clay D. Montgomery
  0 siblings, 0 replies; 3+ messages in thread
From: Clay D. Montgomery @ 2015-12-16 23:43 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-16 23:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.