e.g. Assumed that remote Ubuntu machine have installed SSH Server service
Read How to install SSH Server for remote administration service?
Remote Ubuntu machine: 192.168.0.1
Remote files/folders location: /home/username/remotefile.txt
Local machine save location: . (current directory)
rsync -v -u -a --delete --rsh=ssh --stats [email protected]:/home/username/remotefile.txt .