Scp is very much useful tiny tool in linux for securely copying file between remote host.Only you need to know is username and password  of remote/destination host.

To run this tool.Follow these steps.

Type following command :

scp scptest.tar.gz root@


scptest.tar.gz is the file which you want to send/transfer to remote host (

root is the username of remote host. is the ip address of remote host .

: stands for remote host completion or can say that file will be copied in root directory of remote host.

Then you will ask for password. Give password of root of remote host.

For recursively copying files/folder,

scp  -r scptest.tar.gz root@

scp filename username@destination host addresss :

for eg.





Screen shot