Compress upload and deflate with ssh

fast upload by compressing data before upload

  • using ssh ( without progress informations )
    tar -zc www | ssh root@XX.XX.XXX.XXX tar -zxC /home/user/website
  • using rsync with standard ssh port
    rsync -az --progress  www/* root@XX.XX.XXX.XXX:/home/user/website
  • using rsync with custom ssh port
    rsync -az --progress -e 'ssh -p 25168' www/* root@XX.XX.XXX.XXX:/home/user/website