Refactored after seeing a way of wrapping more into a single ssh command

uses xxd and tar to move local files to the remote host and execute bash
sorcing them.