Last active
September 25, 2017 17:35
-
-
Save arodbits/96d4754d07d8620ed69023528397af79 to your computer and use it in GitHub Desktop.
move files between hosts over ssh using the secure copy command (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
scp -r /path/to/source hostname:port/path/to/destination | |
#if using an entity file for ssh | |
scp -r -i /path/to/key.pem /path/to/source hostname:port/path/to/destination |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment