From owner-freebsd-questions Thu Feb 27 9:15:41 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4162437B401 for ; Thu, 27 Feb 2003 09:15:40 -0800 (PST) Received: from portal.aphroland.org (portal.aphroland.org [216.39.174.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AABA43F93 for ; Thu, 27 Feb 2003 09:15:39 -0800 (PST) (envelope-from freebsd@aphroland.org) Received: by portal.aphroland.org (Postfix, from userid 1010) id E9746278019; Thu, 27 Feb 2003 09:15:38 -0800 (PST) Received: from portal.aphroland.org (debian [127.0.0.1]) by portal.aphroland.org (Postfix) with SMTP id 9E458278018 for ; Thu, 27 Feb 2003 09:15:36 -0800 (PST) Received: from redhat.aphroland.org ([10.10.10.7]) (SquirrelMail authenticated user aphro) by webmail.linuxpowered.net with HTTP; Thu, 27 Feb 2003 09:15:36 -0800 (PST) Message-ID: <50420.10.10.10.7.1046366136.squirrel@webmail.linuxpowered.net> Date: Thu, 27 Feb 2003 09:15:36 -0800 (PST) Subject: Re: mirror remote web server, no ftp, how? From: "nate" To: X-XheaderVersion: 1.1 X-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021207 Phoenix/0.5 In-Reply-To: References: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.9) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Status: No, hits=-0.4 required=5.0 tests=IN_REP_TO,MSG_ID_ADDED_BY_MTA_3,QUOTED_EMAIL_TEXT, REFERENCES,SPAM_PHRASE_00_01 version=2.42 X-Spam-Level: X-Sanitizer: This message has been sanitized! X-Sanitizer-URL: http://mailtools.anomy.net/ X-Sanitizer-Rev: $Id: Sanitizer.pm,v 1.54 2002/02/15 16:59:07 bre Exp $ 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 > I will be sending my web server out to be co-located, and keeping a second > box here > in my office. I want to be able to make this local box a mirror of the rsync .. setup SSH with RSA or DSA authentication, use passphrase-less keys (or ssh-agent or something) and do something like (from remote web server) rsync -e ssh -av /path/to/files remote_server:/path/to/files use -avn instead of -av to have rsync show what it would do without actually doing it. of course if possible I reccomend transferring all files as a non root user in both cases, my last company I had seperate accounts for ftp synch and www synch. nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message