From owner-freebsd-questions@FreeBSD.ORG Thu Jun 12 12:17:51 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 1516637B401 for ; Thu, 12 Jun 2003 12:17:51 -0700 (PDT) Received: from thor.65535.net (thor.65535.net [65.214.160.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8242043F85 for ; Thu, 12 Jun 2003 12:17:50 -0700 (PDT) (envelope-from rghf@fsck.me.uk) Received: from thor ([65.214.160.96] helo=localhost) by thor.65535.net with esmtp (Exim 4.12) id 19QXal-000Dzd-00; Thu, 12 Jun 2003 20:18:35 +0100 Date: Thu, 12 Jun 2003 20:18:35 +0100 (BST) From: Rus Foster To: Jarungwit BOONPERM In-Reply-To: Message-ID: <20030612201806.I98274@thor.65535.net> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: questions@FreeBSD.org Subject: Re: How to close port 22 ? 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: Thu, 12 Jun 2003 19:17:51 -0000 On Fri, 13 Jun 2003, Jarungwit BOONPERM wrote: > Dear sir, > I used FreeBSD 4.5. I want to close port 22 (ssh). > I comment at line "ssh" in "/etc/services" and > restart system. > But don"t work. I still can connect port 22. Hi, Make sure there is aline that says sshd_enable="no" in /etc/rc.conf Rgds Rus Foster -- www: http://www.65535.net | Hosting - Shell Accounts MSNM: support@65535.net | Virtual Servers from just $15/mo e: rghf@65535.net | Community: http://www.65535.org t: +44 (0) 7092016595 | 10% Donation on every FreeBSD product