Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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@10.10.10.8::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 :-(

share|improve this question

1 Answer 1

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

 
discard

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.