[Bug 3750] New: With scp's switch from SCP to SFTP, streaming output no longer works
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Sat Nov 9 23:25:32 AEDT 2024
https://bugzilla.mindrot.org/show_bug.cgi?id=3750
Bug ID: 3750
Summary: With scp's switch from SCP to SFTP, streaming output
no longer works
Product: Portable OpenSSH
Version: 9.9p1
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: scp
Assignee: unassigned-bugs at mindrot.org
Reporter: jeff at jefftk.com
After upgrading OpenSSH, running "scp user at host:file /dev/stdout" now
gives:
ftruncate "/dev/stdout": Invalid argument
Couldn't write to "/dev/stdout": Illegal seek
I think this is due to the switch from the SCP to SFTP protocol: when I
use the -O switch to restore the older behavior it works again.
Streaming output is quite valuable to me: I often want to run commands
like:
scp remote:very-large-file /dec/stdout | aws s3 cp -
s3://bucket/dest
where the file is larger than my local disk or memory.
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list