Using scp to stdout looks weird to me no matter what. Why not
ssh -n host cat /path/to/file | weird-aws-stuff
… but do you really want to copy everything twice? Why not run weird-aws-stuff on the remote host itself?
weird-aws-stuff
The remote host supports SCP and SFTP, but not SSH.
Using scp to stdout looks weird to me no matter what. Why not
ssh -n host cat /path/to/file | weird-aws-stuff
… but do you really want to copy everything twice? Why not run
weird-aws-stuff
on the remote host itself?The remote host supports SCP and SFTP, but not SSH.