Rsync without SSH access

benhowdle89 picture benhowdle89 · Dec 20, 2011 · Viewed 32.6k times · Source

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...

Answer

Joao Figueiredo picture Joao Figueiredo · Dec 20, 2011

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