I've seen that it's possible to run scripts stored locally on a remote server eg.: run a command:
ssh USER@HOST 'COMMAND'
run a script
ssh firstname.lastname@example.org 'bash -s' < script.sh
What about doing it on the oppisite way?
Is it possible to get a script stored on a remote server and execute it locally?