Last active
April 9, 2018 05:14
-
-
Save boywijnmaalen/08aae47c68a884e8d373 to your computer and use it in GitHub Desktop.
scp (Copy) file from server A to server B
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
# To copy a file from B to A while logged into B: | |
$ scp /path/to/file username@a:/path/to/destination | |
# To copy a file from B to A while logged into A: | |
$ scp username@b:/path/to/file /path/to/destination |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment