Skip to content

Instantly share code, notes, and snippets.

@datacodesolutions
Created September 24, 2012 15:54
Show Gist options
  • Save datacodesolutions/3776681 to your computer and use it in GitHub Desktop.
Save datacodesolutions/3776681 to your computer and use it in GitHub Desktop.
Execute Shell Commands via SSH on Remote Server
ssh -OPTIONS -p SSH_PORT user@remote_server "remote_command1; remote_command2; remote_script.sh"
@datacodesolutions
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment