Skip to content

Instantly share code, notes, and snippets.

@ericwoodruff
Created October 5, 2014 06:19
Show Gist options
  • Select an option

  • Save ericwoodruff/c8092f537125e4408b34 to your computer and use it in GitHub Desktop.

Select an option

Save ericwoodruff/c8092f537125e4408b34 to your computer and use it in GitHub Desktop.
ssh connection-aware command
ssh localhost "sleep 99 < <(cat; kill -INT 0)" <&1
@ericwoodruff
Copy link
Copy Markdown
Author

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