openssh: add SFTP server to large flash targets#29022
openssh: add SFTP server to large flash targets#29022Lanchon wants to merge 1 commit intoopenwrt:masterfrom
Conversation
|
No idea where you got me as the maintainer... To the main point:
|
|
hey,
sorry! because you made the latest openssh commit. (instructions say "You can find this by checking the history of the package Makefile".)
no, i also used to think that. however this is only true for packages required by bare-bones builds (for each target). on top of those the buildbot can add optional packages by default, and these can live in the packages repo. for example, |
1bc1a8e to
5760f32
Compare
This will integrate SFTP server support into most images by default. SFTP is the default protocol used by the scp client since OpenSSH 9.0. This change will activate openssh-sftp-server in buildbot by defalut for targets with large flash. For those targets, dropbear is already being built with support for an external SFTP server binary. The package size is around 55 to 60 KB depending on target. Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
5760f32 to
7495cdc
Compare
agghhh! got me again, sorry! |
|
You can kind of |
This will integrate SFTP server support into most images by default. SFTP is the default protocol used by the scp client since OpenSSH 9.0.
This change will activate openssh-sftp-server in buildbot by defalut for targets with large flash. For those targets, dropbear is already being built with support for an external SFTP server binary.
The package size is around 55 to 60 KB depending on target.
@hauke i think you make these decisions.
OpenSSH 9.0 (released in 2022) changed the way
scpworks, from using the legacy scp/rcp protocol to using the sftp protocol by default. (*)The scp protocol has long been discouraged in favor of sftp given its various limitations. sftp on the other hand fully allows mounting remote file systems, and i had always found it indispensable for administering my openwrt boxes.
At least for large flash devices,
openssh-sftp-serverbrings in no extra dependencies. Given that openssh brokescpon openwrt, andssh/scpbeing such basic necessity, shouldn'topenssh-sftp-serverbe included by default on devices with large flash?(*) The old scp behavior can be invoked with the
-Oflag.📦 Package Details
Maintainer: @hnyman
(You can find this by checking the history of the package
Makefile.)Description:
🧪 Run Testing Details
✅ Formalities
If your PR contains a patch:
git am(e.g., subject line, commit description, etc.)
We must try to upstream patches to reduce maintenance burden.