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 firstname.lastname@example.org:
scptest.tar.gz is the file which you want to send/transfer to remote host (192.168.111.103).
root is the username of remote host.
192.168.111.103 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 email@example.com:
scp filename username@destination host addresss :