I have logged on to a system with ssh and there is no scp present on both the systems. How to copy a file without using the scp program.
You can use
xxd and some ugly quoting to copy over multiple files as well as run commands on them and execute them:
ssh -t email@example.com " echo $'"$(cat somefile | xxd -ps)"' | xxd -ps -r > "'somefile'" chmod +x somefile echo $'"$(cat someotherfile | xxd -ps)"' | xxd -ps -r > "'someotherfile'" chmod +x someotherfile ./somefile ./someotherfile "