

For info https://archives.gentoo.org/gentoo-dev/ ... 7d0679b8a6Ionen wrote:There's talk on gentoo-dev to put add some form of warning/news about this but those

https://marc.info/?l=openssh-unix-dev&m ... 428508&w=4I tried to put together something that now works and passes the scp
testsuite (with both scp and sftp modes):
https://github.com/openssh/openssh-portable/pull/194
What does not work is the extended remote-to-remote through local,
which would require some more low-level protocol tweaks.
Most of the code is taken and adapted from the sftp.c . There are still
a few TODOs, but lets take it as a first iteration/proof of concept.

I knew that quote would be useful one day :)Lennart Poettering wrote:Gentoo folks, this is your wakeup call.

Next message in linkpjp wrote:Maybe...
https://marc.info/?l=openssh-unix-dev&m ... 428508&w=4I tried to put together something that now works and passes the scp
testsuite (with both scp and sftp modes):
https://github.com/openssh/openssh-portable/pull/194
What does not work is the extended remote-to-remote through local,
which would require some more low-level protocol tweaks.
Most of the code is taken and adapted from the sftp.c . There are still
a few TODOs, but lets take it as a first iteration/proof of concept.
Code: Select all
I have had this in my .bashrc for years:
alias scp='rsync -avzP'
Code: Select all
# https://bugs.gentoo.org/733802
if ! use scp; then
rm "${ED}"/usr/{bin/scp,share/man/man1/scp.1} \
|| die "failed to remove scp"
fi