From owner-freebsd-questions@FreeBSD.ORG Wed Jul 30 07:11:14 2003 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 C793B37B401 for ; Wed, 30 Jul 2003 07:11:14 -0700 (PDT) Received: from lifesupport.shutdown.com (dsl092-048-059.sfo2.dsl.speakeasy.net [66.92.48.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 150F243F3F for ; Wed, 30 Jul 2003 07:11:12 -0700 (PDT) (envelope-from llewelly@lifesupport.shutdown.com) Received: (from llewelly@localhost) by lifesupport.shutdown.com (8.11.2/8.11.2) id h6UE6Vn11447; Wed, 30 Jul 2003 07:06:31 -0700 (PDT) To: DanB References: <3F250CC4.DF6B5646@chatusa.com> From: LLeweLLyn Reese Date: 30 Jul 2003 07:06:30 -0700 In-Reply-To: <3F250CC4.DF6B5646@chatusa.com> Message-ID: Lines: 15 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd Subject: Re: SCP where does the file xfer to? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2003 14:11:15 -0000 DanB writes: > SCP where does the file xfer to? scp file.tar.gz > longterm@chatusa.com It's not enough to just give a username and a machine name. You need tell scp *where* on the remote machine you want the file put: $ scp file.tar.gz longterm@chatusa.com:. The colon (':') seperates the hostname from the file path. If the colon isn't there, scp won't recognize the 2nd parameter as a target on a remote machine.