IntelliJ Java IDE
The moose likes Linux / UNIX and the fly likes telnetd setup Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Reply Bookmark "telnetd setup" Watch "telnetd setup" New topic
Author

telnetd setup

Jason Kretzer
Ranch Hand

Joined: May 31, 2001
Posts: 280
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,


Jason R. Kretzer<br />Software Engineer<br />System Administrator<br /><a href="http://alia.iwarp.com" target="_blank" rel="nofollow">http://alia.iwarp.com</a>
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6913
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.


A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 12513

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)


One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
 
 
subject: telnetd setup
 
Threads others viewed
JRE assumptions in README.TXT
How Do I Find a Memory Leak?
Examiner's Path to JDK executables
Help configuring Tomcat 4.0
How to set up JUnit on Mac OS X?
MyEclipse, The Clear Choice