• Post Reply Bookmark Topic Watch Topic
  • New Topic

telnetd setup  RSS feed

 
Jason Kretzer
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to setup my Linux Box to allow me to telnet into it. I have looked around, albeit not very hard, to find how to set this up but with no luck would someone please do one of the following:
a) give step by step instructions on how to do this
b) point me at a set of step by step instructions on how to do this
Distro: RedHat 7.2
Thanks everyone,
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Strange, all my RH systems came with telnet enabled by default, although not for the root user. Have you tried creating a non-root user and logging in as that instead?
As an aside, telnet is generally considered a bit of a security hole as all passwords etc. are sent unencrypted. This is why distribution vendors are reluctant to encourage root access over telnet. A better solution is to use the ssh protocol, which should also be enabled by default, even for root. A ssh client is bundled with almost all Linuxes (try "man ssh"), or if you want to connect from Windows and you don't have a ssh client already, there is a good straightforward one available for free at http://www.chiark.greenend.org.uk/~sgtatham/putty/ .
Let us know how you get on.
 
Tim Holloway
Saloon Keeper
Posts: 18789
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At the command prompt, type:
telnet hostname
If the host in question wants to co-operate you'll get a login prompt. Generally you can't login as root from a remote client for security reasons.
For more info on the telnet client program, type "man telnet" (or "info telnet"). Windows also has a telnet client program - its exact look and feel vary depending on what flavor of Windows you are running.
Telnet is a big security risk, so a number of things can keep you from logging in. Among them are:
firewalls in the router(s) between the client and server (host) that deny use of the telnet port
firewalls in the host (ipchains) that deny use of the telnet port
Restrictions on use of the telnet service in inetd (or more recently, xinetd)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!