From owner-freebsd-questions Sun Mar 24 1:49:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by hub.freebsd.org (Postfix) with ESMTP id 68EA337B404 for ; Sun, 24 Mar 2002 01:49:39 -0800 (PST) Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id F300228EC7; Sun, 24 Mar 2002 04:49:38 -0500 (EST) Date: Sun, 24 Mar 2002 04:49:39 -0500 (EST) From: Peter Leftwich X-X-Sender: To: Stanley Chan Cc: FreeBSD Questions Subject: Re: how to restrict the telnet In-Reply-To: <3C9D9E14.3D384063@cyberec.com> Message-ID: <20020324044524.G32288-100000@earl-grey.cloud9.net> Organization: Video2Video Services - http://Www.Video2Video.Com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Sun, 24 Mar 2002, Stanley Chan wrote: > Dear sir, I am using the FreeBSD 4.3 to run my webserver. Can you tell me how can I restrict anyone telnet to my machine except me. > Thanks & Regards > Stanley You could run the daemon (binary, application) known as telnetd or have it run itself on-demand via inetd (type `man inetd` for more information) but you must be aware, telnet is not very secure. At all. ;) Consider running sshd on your webserver and instead of telnetting your box ssh to it. There has been some discussion lately about vulnerabilities in OpenSSH (ssh is part of a suite if you will) so read archived posts to this list to keep up to date. Cheers, -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 PS. Also read `man passwd` if you insist on telnetting in. Users telnetting your webserver must provide a username and password. You could also use "rlogin" if the two machines "know about each other." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message