Copy files using SSH Terminal


Sometimes we need to copy large files from one terminal to another. We want to do this by using the SSH terminal Secure copy (scp) program to copy the files. So lets copy files using SSH Terminal.

There are simple terminal commands that go hand in hand on this task.

Copy files using ssh

scp [email protected]:remote_path local_path
scp [email protected]:/home/old/public_html/ /home/new/public_html

Your local terminal will connect to the remote terminal and start to copy the file(s) in the specified path. After you execute the command you will be asked to provide the password of the machine you’re trying to connect to.

The progress will be displayed by the scp progress indicator.

scp progress indicator