The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM


IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
please help in rsync naree SUN Solaris 10 10-01-2008 04:34 AM
rsync incremental question zhivko.neychev UNIX for Advanced & Expert Users 7 05-31-2007 07:33 AM
rsync question sidmuchrock UNIX for Advanced & Expert Users 3 03-18-2007 03:02 PM
rsync in ftp Euler04 Shell Programming and Scripting 5 10-24-2005 04:17 AM
rsync question skotapal UNIX for Dummies Questions & Answers 1 10-19-2005 04:13 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 02-15-2005
Registered User
 

Join Date: Nov 2002
Location: Raleigh, N.C.
Posts: 78
rsync question?

Does anyone know if rsync will work without ssh or rsh? I am trying to use rsync to synchronize files on two servers, one a production server and the other a standbyserver. The problem is that I have't been given the ok to install openssh on our productions servers, so I am trying to make my job easier by just using rsync.

I have performed rsync transfers on two test machines by streaming rsync through ssh; however, when I try running rsync without streaming through ssh, I get the following errors:

Permission denied.
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)

Based on my testing, rsync appears to be dependent upon ssh or rsh. Also, I found no option to compile rsync without ssh or rsh after reading "configure --help".
Reply With Quote
Forum Sponsor
  #2  
Old 02-15-2005
Registered User
 

Join Date: Aug 2004
Posts: 232
I've used rsync to backup my partitions to other partitions.
Would you be able to mount the backup servers directory via NFS onto the production server, and rsync the files this way?
Reply With Quote
  #3  
Old 02-15-2005
Registered User
 

Join Date: Oct 2002
Posts: 676
I'm not sure I understand. Why not use rsh? That way you can satisfy the requirement of not installing OpenSSH on the server.

Also see from the rsync man page:
Quote:
CONNECTING TO AN RSYNC SERVER
It is also possible to use rsync without a remote shell as the
transport. In this case you will connect to a remote rsync server
running on TCP port 873.
Reply With Quote
  #4  
Old 02-15-2005
Registered User
 

Join Date: Oct 2002
Posts: 676
You may also want to increase the verbosity. Maybe you didnt set up rsh correctly?
Reply With Quote
  #5  
Old 02-15-2005
Registered User
 

Join Date: Nov 2002
Location: Raleigh, N.C.
Posts: 78
The company I am with now has used nfs in the past, and it created a lot of problems for them. To make matters, we are still using SCO; although, we have
ported our applications to Linux successfully in a test environment.

The reason my company is so reluctant about installing ssh is because we use
acconex and secure connex, which uses ssh, too. In the past, a former admin unkowningly installed ssh, which overwrote the acconex and secure connex version. This caused connection problems and has made them paranoid about anyone installing anything new.

Currently, we are using shell scripting to do everything. In fact, we have so many shell scripts that I stay confused. I want to use rsync to eliminate some of the scripts we currently have running in cron.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:58 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0