rsync over different ssh port

Roger Lipscombe rlipscombe at
Wed Nov 7 04:14:06 EST 2001

> You're in luck.  the argument to -e can be a quoted string.
> rsync --progress -vrae 'ssh -p 8022' /home/bill/Graphics/
> bill at vortex:/home/bill/Graphics/
> These hotshots thought of everything, didn't they?

I've even used it like this (from memory):

rsync -auvz -e 'ssh outside rsh' /home/whatever/ inside:/home/wherever

To get around the fact that I didn't have a port-forward from 'outside' to
'inside', but did have working .rhosts.


Roger Lipscombe
Software Developer, SONICblue Incorporated

More information about the rsync mailing list