Created
October 28, 2018 20:25
-
-
Save viniciusdaniel/ab3803aebad41267f3e8fc4b8bee28f4 to your computer and use it in GitHub Desktop.
Best way to copy file across SSH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ tar czf - <files> | ssh user@host "cd /wherever && tar xvzf -" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment