Brent Clark wrote:
> 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


$ rsync -e 'ssh -p 8080' [...]

seems to work (although I vaguely recall it not working, so maybe it's
dependant on the rsync version?)

Putting something like this into ~/.ssh/config will also work:

Host my.host.co.uk
Port 8080

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.