On Fri, May 19, 2006 at 08:27:25AM +0200, Brent Clark wrote, and it was proclaimed:
> Hi
>
> Could anyone please help me with rsync
>
> Im running ssh on port 8080, and I cant get rsync to connect.
>
> Ive tried
>
> rsync -a --port=8080 bclark@my.host.co.uk:/spare2/wayne_mail..tar.gz
> wayne_mail..tar.gz
>
> rsync -a -e ssh bclark@my.host.co.uk:8080:/spare2/wayne_mail..tar.gz
> wayne_mail..tar.gz
>
> Kind Regards
> Brent Clark
>


Brent,

I believe what you really want is:
rsync -a -e 'ssh -p 8080' bclark@my.host.co.uk:/spare2/wayne_mail..tar.gz wayne_mail..tar.gz

The port number specification in the src/dest arguments is only if you are
using rsync-over-tcp protocol. If using SSH (or other remote-shell protocol),
you need to specify it in the argument to -e.

--
Coleman Kane