Last active
August 29, 2015 14:15
-
-
Save guillermoroblesjr/c5a7519b1c74adb41286 to your computer and use it in GitHub Desktop.
Copy files over SSH with scp
This file contains hidden or 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
| # ===[ Secure Copy (via ssh) ]=== | |
| #Copy the file "foobar.txt" from a remote host to the local host | |
| scp [email protected]:foobar.txt /some/local/directory | |
| #Copy the file "foobar.txt" from the local host to a remote host | |
| scp foobar.txt [email protected]:/some/remote/directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment