Run local script remotely over SSH ================================== Author: Momchil Ivanov Date : 2013.09.21 Introduction ------------ This article describes how to run a local script remotely over SSH. Method ------ Examples: $ ssh server "/bin/sh" < script.sh $ ssh server "bash -s" < script.sh