I want to copy a file from a remote host (remote1) to another remote host (remote2) via my local machine. I can only establish ssh connections from this local machine to either of the two remotes. They have no connection between each other nor can I connect to local from any of the remotes.
I read I should use scp -3 user@remote1:Folder/file user@remote2:Folder/ but unfortunately the scp version is too old for -3. So I read I need a ssh tunnel. Can you walk me through it?