Created
June 9, 2020 10:14
-
-
Save alfeyo/48b5ad40c699e6a9e47c68eac9f02e58 to your computer and use it in GitHub Desktop.
Server ssh 101
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
Syntax: | |
scp <source> <destination> | |
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 | |
https://unix.stackexchange.com/questions/106480/how-to-copy-files-from-one-machine-to-another-using-ssh | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment