Many hours to check this script but nothing of good... I've a linux rsync server and with linux client I use:
rsync --password-file=/usr/home/user/.rsync.pass --log-file=/var/log/docs.log --progress --stats -avr --delete [email protected]::docs /home/user/docs
everything ok, the problem is with FreeBSD rsync client:
msg checking charset: ASCII
rsync: safe_read failed to read 1 bytes [Receiver]: Connection reset by peer (54)
[Receiver] _exit_cleanup(code=12, file=io.c, line=251): entered
rsync error: error in rsync protocol data stream (code 12) at io.c(251) [Receiver=3.1.0]
[Receiver] _exit_cleanup(code=12, file=io.c, line=251): about to call exit(12)
ssh port on linux server is 10321
also using
--rsh='ssh -p10321'
I've same problem :-(
I'm using following command in FreeBSD to get data through SSH tunnel: