From owner-freebsd-questions@FreeBSD.ORG Tue Aug 24 10:45:04 2004 Return-Path: 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 B902B16A4CE for ; Tue, 24 Aug 2004 10:45:04 +0000 (GMT) Received: from 9.hellooperator.net (cpc3-cdif2-3-0-cust202.cdif.cable.ntl.com [81.103.32.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3080C43D1D for ; Tue, 24 Aug 2004 10:45:04 +0000 (GMT) (envelope-from rasputin@hellooperator.net) Received: from rasputin by 9.hellooperator.net with local (Exim 4.34) id 1BzYnR-0002y6-9j; Tue, 24 Aug 2004 11:44:57 +0100 Date: Tue, 24 Aug 2004 11:44:57 +0100 From: Dick Davies To: Spidey Knepscheld Message-ID: <20040824104457.GA5491@lb.tenfour> References: <000d01c489c5$15892a90$0b01000a@SPIDEY> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000d01c489c5$15892a90$0b01000a@SPIDEY> User-Agent: Mutt/1.4.2.1i Sender: Rasputin cc: FreeBSD Questions Subject: Re: SCP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dick Davies List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 10:45:04 -0000 * Spidey Knepscheld [0828 11:28]: > Hi Guys > > > I have to FreeBSD boxes next to each other and would like to copy a > directory from the mail server to the firewall.I have root access to > both the PC's.The directory on the mail server is /home/www/trafd and I > would like to copy it to the fw to /usr/ports/net/ . Here is the command > I tried : > > scp /home/www/trafd > spidey@196.15.213.253: /usr/trafd I assume the mailto link is sowe crap inserted by your mailer? Also there shouldn't be a space between the colon and the /usr/trafd, and you'd need a -r flag to recursively do it. Also , tell us what error you got - I'd assume you aren't allowed to ssh as root into 196.15.213.253 > > Please if someone can help try rsync, that's much faster than scp: rsync -vaz -e ssh /home/www/trafd spidey@196.15.213.253:/usr/trafd -- Q: How many Martians does it take to screw in a lightbulb? A: One and a half. Rasputin :: Jack of All Trades - Master of Nuns