LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-09-2012, 01:36 AM   #1
arun5002
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558
Blog Entries: 5

Rep: Reputation: Disabled
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]


Hi All,

Im facing out error while syncing my two server using rsync.Even i had provided wright user name passowrd it geting fails


Quote:
rsync --rsh="sshpass -p password ssh -l root" 192.168.1.1:/backup/* /remotebackup
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(601) [Receiver=3.0.7]
 
Old 05-09-2012, 01:44 AM   #2
raj47
Member
 
Registered: Jan 2011
Posts: 47

Rep: Reputation: 2
your are trying to pull the files from the remote location anyway i doubt this will work

rsync --rsh="sshpass -p password ssh -l root" 192.168.1.1:/backup/* /remotebackup

check for the code12 error in rsync

thanks
Puspharaj
 
Old 05-09-2012, 02:36 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,568
Blog Entries: 30

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
It may be timing out, especially if you are synchronising a lot of files. Try --timeout=600
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Putty:server unexpectedly closed network connection dyool Ubuntu 8 03-07-2012 08:35 PM
PuTTY Fatal Error: Server unexpectedly closed network connection pwwellons Linux - Software 2 02-10-2011 02:10 PM
Putty Fatal error: server unexpectedly closed network connection. smartgupta Linux - Server 1 12-22-2010 09:14 AM
Putty: server unexpectedly closed network connection Dshah Linux - Server 2 12-20-2009 09:57 AM
rsync thru SSH --- connection unexpectedly closed shawn_t Linux - Networking 4 02-25-2005 02:27 PM


All times are GMT -5. The time now is 07:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration