Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 user@ /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 :-(

share|improve this question

I'm using following command in FreeBSD to get data through SSH tunnel:

rsync -auv -e 'ssh -i /home/id_rsa -p 12345' user@host:~/path/*.gz ../
share|improve this answer
Thank's for your reply. I solved changed tap to tun in openvpn server (I think was a bridge problem of that client, but I was enough time to investigate... for now). But thanks :-) – Pol Hallen Dec 19 '13 at 21:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.