How to Copy Files Using SSH

1. You can copy file using ssh by run scp command like this:

scp /usr/file.txt root@10.10.10.10:/home/

2. You need to enter the password and file will start copying.