[Discuss] rsync difficulty

Rich Pieri richard.pieri at gmail.com
Sat Mar 28 14:24:03 EDT 2020


On Sat, 28 Mar 2020 14:08:16 -0400
dan moylan <jdm at moylan.us> wrote:

> scp -r -P2022
> rsync --port=2022

"rsync --port" tells rsync what port the rsync daemon is listening on.
You need to tell ssh what port to connect on:

rsync -e "ssh -o Port=2022" ...

or include the Port option in your ~/.ssh/config file.

-- 
Rich Pieri


More information about the Discuss mailing list