[Gllug] rsync over ssh

Adrian McMenamin adrian at newgolddream.dyndns.info
Fri Dec 18 11:04:17 UTC 2009

On Fri, December 18, 2009 10:56 am, Andy Millar wrote:
> On Fri, 2009-12-18 at 10:47 +0000, 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?
>>From the rsync man page you might want:
> rsync -av -e "ssh -p PORT" root at remoteserver:/dir/ ./backup

Indeed. Many thanks.

I tried quotes before (last night) but I quoted the whole ssh expression.

But this one certainly seems to be working.

Gllug mailing list  -  Gllug at gllug.org.uk

More information about the GLLUG mailing list