On 6/2/23 14:02, Richard Purdie wrote:
> On Fri, 2023-06-02 at 11:50 +0200, Alexis Lothoré via
> lists.openembedded.org wrote:
>> Add two options for SCP:
>> - by default scp expects sftp server to be available on target, which is
>>   not always true (e.g: core-image-minimal image). Pass -O to force SCP to
>>   fallback to legacy SCP protocol
> 
> We deliberately switched away from SCP since it is deprecated and will
> be removed in a later openssh release. This is therefore a step
> backwards, we really need to do something different.

Understood. Digging a bit about the deprecation issue and why it did not work on
my machine without this option, and based on fixes seen in mailing list around
this issue, I found out that my image was not configured properly (adding
dropbear package instead of enabling it as an IMAGE_FEATURE, which brings in
sftp support)
I guess keeping scp command but with sftp support instead of legacy scp support
is ok ? Or you are in fact talking about completely stopping using the scp
binary, even with sftp support ?

Kind regards,
> 
>> - by default scp expects files. Passing -r option allows to copy
>>   directories too
> 
> Cheers,
> 
> Richard

-- 
Alexis Lothoré, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#182330): 
https://lists.openembedded.org/g/openembedded-core/message/182330
Mute This Topic: https://lists.openembedded.org/mt/99283032/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to