Exécuter le script shell à distance en utilisant SSH

ssh root@MachineB 'bash -s' < local_script.sh
Magnificent Magpie