[Gllug] rsync over ssh

Peter Corlett abuse at cabal.org.uk
Fri Dec 18 10:53:25 UTC 2009


On 18 Dec 2009, at 10:47, Adrian McMenamin wrote:
[...]
> so I try rsync -ave ssh -p [odd port number]
> root at remoteserver:/var/www/somedirectory/ ./backup
> and I get "Unexpected remote arg: root at remoteserver:/var/www/ 
> somedirectory/"
> What have I done wrong?

Quoting. You want something like this:

rsync -ave 'ssh -p [odd port number]' root at remoteserver:/var/www/ 
somedirectory/ ./backup


-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list