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: [email protected]
Reporter: [email protected]
After upgrading OpenSSH, running "scp user@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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs