From owner-freebsd-questions@FreeBSD.ORG Tue Feb 6 20:15:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 66FE816A403 for ; Tue, 6 Feb 2007 20:15:57 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by mx1.freebsd.org (Postfix) with ESMTP id 498C913C4AC for ; Tue, 6 Feb 2007 20:15:57 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from hymn05.u.washington.edu (hymn05.u.washington.edu [140.142.12.184]) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l16KFuBb026240 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 6 Feb 2007 12:15:56 -0800 Received: from localhost (localhost [127.0.0.1]) by hymn05.u.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l16KFu9T008813 for ; Tue, 6 Feb 2007 12:15:56 -0800 X-Auth-Received: from [192.55.52.1] by hymn05.u.washington.edu via HTTP; Tue, 06 Feb 2007 12:15:56 PST Date: Tue, 6 Feb 2007 12:15:56 -0800 (PST) From: youshi10@u.washington.edu To: freebsd-questions@freebsd.org In-Reply-To: <005401c74a2b$30361b90$0300020a@mickey> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.2.6.120434 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='NO_REAL_NAME 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Subject: Re: SCP & Delete X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2007 20:15:57 -0000 On Tue, 6 Feb 2007, Don O'Neil wrote: > How do I delete a file after I've copied it with SCP? Is there some sort of > secure 'rm' command? ssh allows you to execute many commands, one being rm. Example: ssh username@host "rm /full/path/to/file"; There's also gftp which can use ssh / sftp if you like GUI. -Garrett