From owner-freebsd-questions Mon Dec 17 12:26: 1 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clink.schulte.org (clink.schulte.org [209.134.156.193]) by hub.freebsd.org (Postfix) with ESMTP id 64C7837B41F for ; Mon, 17 Dec 2001 12:25:54 -0800 (PST) Received: from schulte-laptop.nospam.schulte.org (nb-65.netbriefings.com [209.134.134.65]) by clink.schulte.org (Postfix) with ESMTP id 5E6272440D; Mon, 17 Dec 2001 14:25:51 -0600 (CST) Message-Id: <5.1.0.14.0.20011217142430.03fccbc8@pop.schulte.org> X-Sender: X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 17 Dec 2001 14:25:28 -0600 To: Rakesh Prajapati , From: Christopher Schulte Subject: Re: How to allow ssh only remotely (and deny telnet remotely) In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 Edit /etc/inetd.conf and comment out the telnet entry. Save the file. Then issues this command: # killall -HUP inetd Telnet is disabled! At 08:23 PM 12/17/2001 +0000, Rakesh Prajapati wrote: >Hi , > >Thanks guys , who responded with my earlier Q "Cant log in remotely as >ROOT" > >Now that ssh is a secure way of logging in , how to deny telnet access to >the system remotely. > >As ssh uses port 22 and telnet uses port 23 , do I just need to disable >port 23. > > >Pls advice as to is this a good/right way of doing it. > > > >Thanks >Rakesh > >rprajapa@sdf.lonestar.org >SDF Public Access UNIX System - http://sdf.lonestar.org > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message