Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] rsync difficulty



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



Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org