Operating System - Linux
1819802 Members
3217 Online
109607 Solutions
New Discussion юеВ

Telnet issue in Fedora Core 6 (ZOD)

 
SOLVED
Go to solution
Sandeepk_1
Advisor

Telnet issue in Fedora Core 6 (ZOD)

I am unable to telnet to this box. indicates a error given below:

C:\Documents and Settings\34024>telnet 10.209.96.225

getnameinfo: localhost: Success
Temporary failure in name resolution: Illegal seek

Connection to host lost.
7 REPLIES 7
Ivan Ferreira
Honored Contributor

Re: Telnet issue in Fedora Core 6 (ZOD)

Use ssh instead of telnet, disable the telnet service.

Uset putty.exe as ssh client.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Stuart Browne
Honored Contributor
Solution

Re: Telnet issue in Fedora Core 6 (ZOD)

Whilst I agree with Ivan there on all counts, if 'telnet' is required (yes, some unfortunate applications are stupid), then you'll need to look at installing the 'telnet-server' package using 'yum'.

This will be launched from 'xinetd' so make sure that's set to start, and 'chkconfig telnet on' to enable it.

Note that you *WILL NOT* be able to log in as root by default.
One long-haired git at your service...
Sandeepk_1
Advisor

Re: Telnet issue in Fedora Core 6 (ZOD)

Thanks Stuart....but i did not understand abou' the "root" not being able to login!!
Also could you explain the procedure of the telnet installation in "yum".
Thanks
Huc_1
Honored Contributor

Re: Telnet issue in Fedora Core 6 (ZOD)

To install telnet for i386 using yum.
do the followinf login as root

# yum install telnet.i386

this will install telnet using yum for more info on yum you can do yum -h or man yum, you should have yum already installed on your system as this normaly ins installed on a Fedora core 6.

Root is not allowed by default to log in to target for security reasons, telnet is very unsecure in todays world, telenet user name and password are not encrypted so they can be read/seen by any body using sinffers tools like "tcpdump"... This is why we all strongly recommand that you use ssh if posible in your case.

Jean-Pierre Huc
Smile I will feel the difference
Alexander Chuzhoy
Honored Contributor

Re: Telnet issue in Fedora Core 6 (ZOD)

After installing the telnet server you need to start it.
chkconfig telnet on
is the command.

At this point by default the root won't be allowed to login for security purposes.
To allow root to login submit this command from the console:
for i in `seq 1 20`; do echo pts/$i >> /etc/securetty; done

and wuala - you're ready to login as root.

The above command appends entries (pts/0,pts1..pts/20) to a file /etc/securetty. This files controls where root is allowed to login.






John Collier
Esteemed Contributor

Re: Telnet issue in Fedora Core 6 (ZOD)

Just a thought on using yum to install/remove packages from your system:

The command above (yum install telnet.i386) is a valid command and there is absolutely nothing wrong with it, but you may actually have a 64 bit system. For general install situations, I would normally recommend a simple

yum install {package-name}

Without the extras of '.i386'. This will install the same version of the package that your kernel is currently running in most cases.

If you have not done so already, you may want to install the graphical front end to yum and the extensions available for it. The quick and easy way to do this is a simple:

yum install yum*

That will get you yumex (the graphical extension) plus several other neat little plugins.

The main advantage to using yumex is for those occasions when you know you want something that deals with, for example, telnet but you don't have any idea what the package name is. Simply open up yumex, do a quick search, and install it on the spot.

It can be very useful if you have one of those 'blond computer user moments'.
"I expect to pass through this world but once. Any good, therefore, that I can do, or any kindness that I can show to any human being, let me do it now. Let me not defer or neglect it, for I shall not pass this way again." Stephen Krebbet, 1793-1855
Sandeepk_1
Advisor

Re: Telnet issue in Fedora Core 6 (ZOD)

Thanks all for your support!!