scp command is used to securely copy files from one linux server to another. scp stands for secure copy and its use ssh(secure socket shell) so the files is encrypted before it send to another server.
for example you have two server 184.108.40.206 and 220.127.116.11 and you want to transfer a file named “hadoop-core.xml” from 18.104.22.168 Desktop to 22.214.171.124 Desktop. Type the following commands in terminal
scp 126.96.36.199:root/Desktop/hadoop-core.xml 188.8.131.52:root/Desktop/