Created
March 6, 2025 17:58
-
-
Save krhoyt/10dd5a3442b1275f0753fdb908521f3b to your computer and use it in GitHub Desktop.
SCP Command Examples
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
# Remote login generally lands in user root, but may want ~/ prefix for specificity | |
# Specificity may be desired on local path as well with ./ depending on location | |
scp USER@SERVER:PATH_TO_REMOTE_FILE PATH_TO_LOCAL_FILE |
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
# Remote login generally lands in user root, but may want ~/ prefix for specificity | |
# Specificity may be desired on local path as well with ./ depending on location | |
scp PATH_TO_LOCAL_FILE USER@SERVER:PATH_TO_REMOTE_FILE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment