[Discuss] rsync difficulty

dan moylan jdm at moylan.us
Sat Mar 28 17:10:17 EDT 2020


rich pieri writes:
> 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" ...

moylan www[1689] rsync -e "ssh -o Port=2022" foo moylan.us:www
bash: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.3]
moylan www[1690] which rsync
/bin/rsync

hmmm -- what have i done now?

tia,
ole dan (sheltering in place)

j. daniel moylan
84 harvard ave
brookline, ma 02446-6202
617-777-0207 (cel)
jdm at moylan.us
www.moylan.us
[no html pls]


More information about the Discuss mailing list