deploymentsshshared-hostingrsync

Rsync without SSH access


Firstly, i'm not sure this is the best place to put this question so if it needs moving, thats cool.

I have shared hosting with no SSH access, what are my options in terms of deployment/rsyncing...

I build applications in PHP and use GIT, not sure if this changes things...


Solution

  • Rsync legacy versions used rsh as the transport layer, which was replaced by the more secure ssh, you can, however, force it to use other transports with the -e tag (--rsh),

    rsync --rsh=rsh
    

    Alternative options,

    unison direct socket method (without ssh)

    rdiff-backup without ssh (read the REMOTE OPERATION part)

    ftpsync

    csync rsync-like behaviour over HTTP