-
-
Save jasperf/791566d630f00abf916f to your computer and use it in GitHub Desktop.
Use secure copy or scp to upload and download files to the server #scp #ssh
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
//Uploading Using SCP | |
## origin > destination | |
scp /home/jasper/path/file [email protected]:/home/username/domain.com/public_html/images/ | |
Uploading to Ubuntu Server | |
scp /home/jasper/path/file [email protected]:/var/www/html/ | |
##downloading | |
scp [email protected]:/root/pcfilename.rar ./ | |
##directory download | |
scp -r [email protected]:/path/to/foo /home/user/Desktop/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment