Hot answers tagged cygwin
4
Yes, of course you have to:
rsync -e 'ssh -p 222' ...
or:
RSYNC_RSH='ssh -p 222' rsync ...
Alternatively, you can specify in ~/.ssh/config that ssh connections to that host are to be on port 222 by default:
Host that-host
Port 222
Only top voted, non community-wiki answers of a minimum length are eligible
