Re: Telnet question

From: Christopher Browne (cbbrowne_at_acm.org)
Date: 07/10/03


Date: 9 Jul 2003 22:52:28 GMT

Daytona <daytona_usa@SpamSuX.yahoo.com> wrote:
> Hi folks,
>
> I have a odd question on setting up the telnetd on a RH 7.3 box...
>
> I want to deny telnet access to everyone on my system, and I want them
> to use SSH instead. However, I do NOT want to close the telnet port
> since if I close that port, the users will see a "Connection refused"
> message on connecting. What I want to do instead is leave the port
> open, setup a message in /etc/issue.net to tell the users to switch to
> SSH (The message is displayed BEFORE the login prompt), then
> disconnect the user (without showing the login prompt).
>
> Is is possible that I can do such things?

I'd expect that the right idea would be to write up a script that
prints out the desired message, and set up /etc/inet.conf to invoke
that for the telnet service...

-- 
output = ("cbbrowne" "@" "ntlug.org")
http://www.ntlug.org/~cbbrowne/languages.html
Think of C++ as an object-oriented assembly language.


Relevant Pages

  • RE: Commentary on the seven words
    ... When I was an operating systems programmer we all too often forgot that the Operating system existed to support the application, not the other way around. ... A Because the application that we run uses a telnet client that doesn't support ssh - and that's why I can't run ssh on this system. ... I administrate one system that has 128 clients on it and it's ...
    (RedHat)
  • Re: Commentary on the seven words
    ... A Because the application that we run uses a telnet client that doesn't ... support ssh - and that's why I can't run ssh on this system. ... General Red Hat Linux discussion list ... >operating system and utility advice and assistance and there are SEVEN ...
    (RedHat)
  • Re: Commentary on the seven words
    ... routinely asked to help with enabling rsh and telnet. ... Shoot, I use SSH & all that, but if I wanted to allow it for some ... > I wrote in with a complaint that Linux will allow a process (like Tar, ... I administrate one system that has 128 clients ...
    (RedHat)
  • Re: OSR507: xm_vtcld : could not open libXm.so
    ... laptop, I can run successfully "scoadmin software" if I'm through SSH, ... LINUXLAPTOP $ telnet 172.xxx.101.66 ... Similarly cron jobs have a different environment, and cgi-bin scripts ...
    (comp.unix.sco.misc)
  • Re: Telnet and SSH login problems with Red Hat Enterprise ES4
    ... trying to connect remote clients to connect to it. ... If we connect with telnet, ... "Login incorrect" and then the login prompt repeats. ... If we connect with SSH, we can log in with "root". ...
    (RedHat)