Re:Remote Code Execution in OpenSSH’s forwarded SSH-agent
by LinuxBender on Wednesday July 19, 2023 @02:36PM
(#36791154)
Some time take a look at lftp [1] and its mirror subsystem for this. It can break up a batch of files or even one large file into multiple SFTP streams. Another upside is that it can replicate most rsync behavior in a SFTP-Only Chroot account. Downside is that without a corresponding daemon like rsync on the other end directory enumeration is slow which isn't a problem if one does not have a complex directory structure.
Play around with the built in rate limit options total and per thread to keep the network people happy.
Play around with the built in rate limit options total and per thread to keep the network people happy.
[1] - https://linux.die.net/man/1/lftp