Skip to content

Instantly share code, notes, and snippets.

@peterkowalski
Last active November 16, 2021 17:00
Show Gist options
  • Save peterkowalski/49e2132dad2350a08f84457984298434 to your computer and use it in GitHub Desktop.
Save peterkowalski/49e2132dad2350a08f84457984298434 to your computer and use it in GitHub Desktop.
[Run script over SSH] Run local script over SSH connection
ssh [email protected] 'bash -s' < local_script.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment