Skip to content

Instantly share code, notes, and snippets.

@Daeinar
Created October 28, 2012 18:30
Show Gist options
  • Save Daeinar/3969378 to your computer and use it in GitHub Desktop.
Save Daeinar/3969378 to your computer and use it in GitHub Desktop.
Copy remote text file to local system buffer
# From the remote ssh machine run:
cat /dir/file.txt | ssh user@localMachine pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment