How to send some shell instruction(s) to a target, and use other shell instruction(s) on the host to process the first ones

How to send some shell instruction(s) to a target, and use other shell instruction(s) on the host to process the first ones#

🚧 TODO 🚧