From owner-freebsd-questions@FreeBSD.ORG Thu Jun 12 19:42:59 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 E478537B401 for ; Thu, 12 Jun 2003 19:42:59 -0700 (PDT) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9563C43F85 for ; Thu, 12 Jun 2003 19:42:58 -0700 (PDT) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (on@banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.12.3/8.9.3) with ESMTP id h5D2gcWV074422; Fri, 13 Jun 2003 09:42:40 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.8.5/8.8.5) id JAA11542; Fri, 13 Jun 2003 09:44:20 +0700 (ICT) Date: Fri, 13 Jun 2003 09:44:20 +0700 (ICT) Message-Id: <200306130244.JAA11542@banyan.cs.ait.ac.th> X-Authentication-Warning: banyan.cs.ait.ac.th: on set sender to on@banyan.cs.ait.ac.th using -f From: Olivier Nicole To: bjarungw@bunga.pn.psu.ac.th In-reply-to: (message from Jarungwit BOONPERM on Fri, 13 Jun 2003 02:11:46 +0700 (GMT)) References: X-Virus-Scanned: by amavisd-milter (http://amavis.org/) 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: Fri, 13 Jun 2003 02:43:00 -0000 Khun Jarungwit, The file /etc/services tells you what is the port number for some known services. The file /etc/services is not the file that start the services. In the file /etc/rc.conf you must put a line: sshd_enable="NO" to remove SSH. But I strongly suggest that you use SSH instead of telnet to allow remote connection to your machine. Best regards, Olivier