From owner-freebsd-questions Tue Dec 4 12:49:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from kraeusen.nbrewer.com (kraeusen.nbrewer.com [208.42.68.65]) by hub.freebsd.org (Postfix) with ESMTP id D9ACF37B405 for ; Tue, 4 Dec 2001 12:49:38 -0800 (PST) Received: by kraeusen.nbrewer.com (Postfix, from userid 1001) id A626FB751; Tue, 4 Dec 2001 14:52:55 -0600 (CST) Date: Tue, 4 Dec 2001 14:52:55 -0600 From: Christopher Farley To: ann kok Cc: freebsd-questions@FreeBSD.ORG Subject: Re: scp, rsync, secure ftp Message-ID: <20011204145251.A13973@northernbrewer.com> Mail-Followup-To: Christopher Farley , ann kok , freebsd-questions@FreeBSD.ORG References: <20011204193209.85385.qmail@web20106.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011204193209.85385.qmail@web20106.mail.yahoo.com> User-Agent: Mutt/1.3.22.1i Organization: Northern Brewer, St. Paul, MN Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ann kok (annkok2001@yahoo.com) wrote: > Hi all > > I would like to know what is different between > scp and rsync More to the point, how are scp and rsync similar? Both scp and rsync allow you to transfer files between different computers, but beyond that, the similarities end. scp is a secure version of rcp, which allows you to transfer files between hosts on a network. scp uses ssh for authentication and encryption, and is as secure as ssh. It is extremely useful, and installed in FreeBSD by default. rsync is not installed by default. It too copies files from one host to another. However, it is mostly useful for keeping two directory trees in sync with one another. If you have a very large directory, and you wish to maintain a copy of that directory on another host, rsync is a very efficient tool. rsync will only copy those files that have changed, so if you run it regularly it is much quicker than copying over the entire directory. I run rsync regularly from a cron job to keep some important directories available on a remote computer; in the event of a server failure, they're available immediately. rsync will also work over ssh, although you can also use it insecurely if you desire. -- Christopher Farley www.northernbrewer.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message