[Discuss] rsync difficulty

John Abreau abreauj at gmail.com
Sat Mar 28 18:17:47 EDT 2020


Perhaps rsync is n ot in your PATH on the remote system.


On Sat, Mar 28, 2020 at 5:11 PM dan moylan <jdm at moylan.us> wrote:

>
> 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]
> _______________________________________________
> Discuss mailing list
> Discuss at lists.blu.org
> http://lists.blu.org/mailman/listinfo/discuss
>


-- 
John Abreau / Executive Director, Boston Linux & Unix
Email: abreauj at gmail.com / WWW http://www.abreau.net / PGP-Key-ID 0x920063C6
PGP-Key-Fingerprint A5AD 6BE1 FEFE 8E4F 5C23  C2D0 E885 E17C 9200 63C6


More information about the Discuss mailing list