From owner-freebsd-questions@FreeBSD.ORG Tue Feb 6 20:17:16 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 778E716A410 for ; Tue, 6 Feb 2007 20:17:16 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id 14BB513C4BB for ; Tue, 6 Feb 2007 20:17:15 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by nf-out-0910.google.com with SMTP id m19so264945nfc for ; Tue, 06 Feb 2007 12:17:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=La+HvcR4kHp/8kkVB6prV7Q8KV5wdx38tE9UtteYYgVcxx20nMZ6e5sQtC1PVEXGsij2tnxOE6T+XC8YE7kaxNWZcRAPr0Qzd3ff9IKwMqbDnjRVkuu1yxHwxcxmSath/FGTEwyHgsMcOPQA9f9yXqfMf0NlUh5G6CfRbaqxK90= Received: by 10.82.111.8 with SMTP id j8mr5140827buc.1170793034080; Tue, 06 Feb 2007 12:17:14 -0800 (PST) Received: by 10.82.163.14 with HTTP; Tue, 6 Feb 2007 12:17:14 -0800 (PST) Message-ID: <8cb6106e0702061217uf9fda4cu94c3c811b5e4dab3@mail.gmail.com> Date: Tue, 6 Feb 2007 12:17:14 -0800 From: "Josh Carroll" To: "Don O'Neil" In-Reply-To: <005401c74a2b$30361b90$0300020a@mickey> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <005401c74a2b$30361b90$0300020a@mickey> Cc: freebsd-questions@freebsd.org Subject: Re: SCP & Delete X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@psualum.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2007 20:17:17 -0000 > How do I delete a file after I've copied it with SCP? Is there some sort of > secure 'rm' command? ssh user@host 'rm /full/path/to/file' Should work. There's no srm (secure rm), you simply ssh to the machine and give it the command to execute.