rsync. The best way to copy files between servers.
rsync to copy multiple files via ssh to a remote machine. Same syntax as scp:
rsync -avz --progress /root/temp thegeekstuff@192.168.200.10:/var/lib/rpm/
-a Archive mode (ensures that symbolic links, devices, attributes, permissions, ownerships, etc. are preserved in the transfer)
-v Increase verbosity
-z Use compression
-progress, to show progress
In this example all files in /root/temp on the host machine are copied to the remote machine.