rsync to copy multiple files via ssh to a remote machine. Same syntax as scp:
rsync -avz --progress /root/temp firstname.lastname@example.org:/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.