Date: Tue, 4 Dec 2001 14:52:55 -0600 From: Christopher Farley <chris@northernbrewer.com> To: ann kok <annkok2001@yahoo.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: scp, rsync, secure ftp Message-ID: <20011204145251.A13973@northernbrewer.com> In-Reply-To: <20011204193209.85385.qmail@web20106.mail.yahoo.com> References: <20011204193209.85385.qmail@web20106.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011204145251.A13973>