Created
October 5, 2012 13:57
-
-
Save sholloway/3839920 to your computer and use it in GitHub Desktop.
dowloading and uploading files 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
Usage: | |
scp [options] [[user@]host1:]filename1 ... [[user@]host2:]filename2 | |
Where: | |
[[user@]host1:]filename1 is the source file and path, and [[user@]host2:]filename2 is the destination. | |
Upload Example: | |
scp ./myfile username@ipaddress:/Users/dest_user/remote_path/new_file_name | |
Download Example: | |
Upload Example: | |
scp username@ipaddress:/path/to/remote/file local/path/new/file/name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment