Skip to content

Instantly share code, notes, and snippets.

@hashimotor
Last active December 19, 2015 09:19
Show Gist options
  • Save hashimotor/5932564 to your computer and use it in GitHub Desktop.
Save hashimotor/5932564 to your computer and use it in GitHub Desktop.
Remote copy using ssh and pipe. http://d.hatena.ne.jp/pcmaster/20130630/p1
ssh src_host 'cat file' | ssh dst_host 'cat > file'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment