From owner-freebsd-questions Mon Dec 17 1:45:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from relay3-gui.server.ntli.net (relay3-gui.server.ntli.net [194.168.4.200]) by hub.freebsd.org (Postfix) with ESMTP id 25C5737B41D for ; Mon, 17 Dec 2001 01:45:15 -0800 (PST) Received: from pc3-card4-0-cust122.cdf.cable.ntl.com ([62.254.251.122] helo=rhadamanth.private.submonkey.net ident=exim) by relay3-gui.server.ntli.net with esmtp (Exim 3.03 #2) id 16FuKb-00047z-00; Mon, 17 Dec 2001 09:45:09 +0000 Received: from setantae by rhadamanth.private.submonkey.net with local (Exim 3.33 #1) id 16FuJx-000146-00; Mon, 17 Dec 2001 09:44:29 +0000 Date: Mon, 17 Dec 2001 09:44:29 +0000 From: Ceri To: David Xu Cc: freebsd-questions@freebsd.org Subject: Re: ssh garbage in /tmp Message-ID: <20011217094429.GC3646@rhadamanth> Mail-Followup-To: Ceri , David Xu , freebsd-questions@freebsd.org References: <3C1DA935.6000801@viasoft.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C1DA935.6000801@viasoft.com.cn> User-Agent: Mutt/1.3.24i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Dec 17, 2001 at 04:13:41PM +0800, David Xu wrote: > I have found some ssh garbage does not be cleaned after system reboots, > all these garbage were accumulated util recently I looked into /tmp, why > will ssh leave so much garbage dirs and files without clear it? > drwx------ 2 davidx wheel 512 Nov 22 12:31 ssh-1efu6Fvh > drwx------ 2 davidx wheel 512 Nov 21 09:35 ssh-3fM22Tzn These are used for forwarding X sessions over ssh (at least, they don't get created if you turn off forwarding in my experience). If you want /tmp tp be cleared on reboot, then set clear_tmp_enable="YES" in /etc/rc.conf. Ceri -- keep a mild groove on To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message