From owner-freebsd-questions@FreeBSD.ORG Tue Aug 24 10:35:45 2004 Return-Path: <owner-freebsd-questions@FreeBSD.ORG> 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 26C1C16A4CE for <freebsd-questions@freebsd.org>; Tue, 24 Aug 2004 10:35:45 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id D21A043D39 for <freebsd-questions@freebsd.org>; Tue, 24 Aug 2004 10:35:44 +0000 (GMT) (envelope-from augusts@gmail.com) Received: by mproxy.gmail.com with SMTP id 73so50609rnk for <freebsd-questions@freebsd.org>; Tue, 24 Aug 2004 03:35:39 -0700 (PDT) Received: by 10.38.72.72 with SMTP id u72mr1408215rna; Tue, 24 Aug 2004 03:35:39 -0700 (PDT) Received: by 10.38.86.32 with HTTP; Tue, 24 Aug 2004 03:35:39 -0700 (PDT) Message-ID: <46fa40c104082403354449bfc2@mail.gmail.com> Date: Tue, 24 Aug 2004 20:35:39 +1000 From: August Simonelli <augusts@gmail.com> To: spidey@act.co.za In-Reply-To: <000d01c489c5$15892a90$0b01000a@SPIDEY> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <000d01c489c5$15892a90$0b01000a@SPIDEY> cc: freebsd-questions@freebsd.org Subject: Re: SCP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: August Simonelli <augusts@gmail.com> List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 24 Aug 2004 10:35:45 -0000 On Tue, 24 Aug 2004 12:28:23 +0200, Spidey Knepscheld <spidey@act.co.za> wrote: > 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 <mailto:spidey@196.15.213.253> > spidey@196.15.213.253: /usr/trafd I think it's more like this: scp user@remotehost:/path/to/remote/dir/* /path/to/local/dir/ i'm still pretty new at this but if i'm not mistaken root can't login remotely by default, so unless you've allowed that it'll fail. hope this helps ... august > > Please if someone can help > > Spidey > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >