[Gllug] rsync over ssh

general_email at technicalbloke.com general_email at technicalbloke.com
Fri Dec 18 13:00:50 UTC 2009

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

Interesting, I've never tried it but I'd always assumed that's what the
colon was for, like in http requests i.e.

rsync -axP ssh_account at

I take it that won't work then?


Gllug mailing list  -  Gllug at gllug.org.uk

More information about the GLLUG mailing list