Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2001 14:25:28 -0600
From:      Christopher Schulte <schulte+freebsd@nospam.schulte.org>
To:        Rakesh Prajapati <rprajapa@sdf.lonestar.org>, <freebsd-questions@freebsd.org>
Subject:   Re: How to allow ssh only remotely (and deny telnet remotely)
Message-ID:  <5.1.0.14.0.20011217142430.03fccbc8@pop.schulte.org>
In-Reply-To: <Pine.NEB.4.33.0112172016500.28968-100000@sdf.lonestar.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20011217142430.03fccbc8>