-
-
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 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 user@sdomain.com:/home/username/domain.com/public_html/images/ | |
Uploading to Ubuntu Server | |
scp /home/jasper/path/file user@sdomain.com:/var/www/html/ | |
##downloading | |
scp root@1.2.3.4:/root/pcfilename.rar ./ | |
##directory download | |
scp -r user@your.server.example.com:/path/to/foo /home/user/Desktop/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment