Using SCP to upload or download a file through SSH

By North Street, A Creative Studio

Typically this would be used in conjunction with creating a tar.gz file of a site, (as discussed here.)

Use scp To copy from your local computer to the remote, type, in the local computer:

scp -v /tmp/file user@example.com:/home/name/dir

(where /tmp/file can be replaced with any local file and /home/name/dir with any remote directory)

To copy from the remote computer to the local one, type, in the local computer:

scp -v user@example.com:/home/name/dir/file /tmp/

(protip: It helps to know the full path of the directories and files. Use the “pwd” to obtain that.)

sourcehttp://askubuntu.com/questions/157381/in-ssh-how-do-i-mv-to-my-local-system

About north street

We engineer the thoughtful transformation of great organizations. Our proven process helps us understand what your competitors are doing right — and wrong. Want to learn more? Let’s chat.

More Notes

Collage of colorful shapes, mobile phones, and text.

Welcome to Your 2024 Branding Pep Talk

A bowler hat floating on top of radio waves in the background

CEO Tom Conlon Talks Shop on Podcast Marketing Secrets

Tom Conlon

CEO Tom Conlon in Conversation with The Opinionistics