Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cannot telnet into linux box

Status
Not open for further replies.

estesflyer

Programmer
Dec 19, 2000
284
US
I cannot seam to telnet into the linux box, even FROM the linux box. =(

I type:


[root@earl /root]# "telnet 127.0.0.1"

and then it comes up with

"bash: telnet: command not found"

I tried it with red hat 7.1, and then i tried it with mandrake 8.0. I've decided to use mandrake.

I'm trying to set it up as a server, but I want to connect remotely from another machine on the network, for now anyways. - Rusty
 
Mmmm....

It's seems your telnet client program is not installed.
Try to browse your distribution packages. Search for the telnet RPM and then type as root

# rpm -ivh telnet-x.x.x.rpm

Remember that telnet is the client software.
If you want to run the telnet server too, you'll have to install it...

Good luck! Arlequín
arlequin@montevideo.com.uy
 
Hi,







On redhat the 'telnet' rpm is just a telnet client. You need to install the 'telnet-server' rpm --> ftp://rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/telnet-server-0.17-10.i386.rpm .







Its similar on mandrake -->



ftp://rpmfind.net/linux/Mandrake/8.1/i586/Mandrake/RPMS/telnet-server-krb5-1.2.2-11mdk.i586.rpm







On redhat you then have to activate the server under xinetd by doing, as root, :







/sbin/chkconfig telnet on







If you're remotely connecting from another linux machine, you'd be much better of in security terms by using ssh rather than telnet. You need at least the first three of the following rpms :







ftp://rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/openssh-2.5.2p2-5.i386.rpm



ftp://rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/openssh-server-2.5.2p2-5.i386.rpm



ftp://rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/openssh-clients-2.5.2p2-5.i386.rpm



ftp://rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/openssh-2.5.2p2-5.i386.rpm



ftp://rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/openssh-askpass-gnome-2.5.2p2-5.i386.rpm







Check if they are already installed first:







rpm -qa | grep ^openssh







Hope this helps























 
thanks a LOOOOT!

By the way, I've decided to use SSH rather than telnet... I've also found an SSH client for win32! It's called Putty, and it works WONDERfully!! I'm starting to make progress with running a linux server. I've downloaded and installed apache, and got it running. I am now trying to figure out how to use Vi, and I found a few tutorials on the net that seem to be worthwhile.

One thing, how do i SSH into a linux box, FROM the linux box. I've only been connecting from the windows machine, so far.

By the way, anyone know any tutorials about using rpm in redhat/mandrake? I sorta know how to use it, but not really... Also, any tutorials about how to install *.tar.gz files would be HIGHLY appreciated. I started out a linux newbie and intend to end up a linux pro, ASAP.
Thanks to you guys, it's all possible. =)

TIA

- Rusty - Rusty
 
Well I'm glad our help succeeded !! ;-)

First of all:
puTTy is a great tool... I use it a lot, even if I want to pop a mail server... it's fast and reliable.
If you want to start a session over a secure channel FROM the Linux box, you need the ssh client. It's possible that you have it installed in your system... Only tpye

# ssh xxx.yyy.zzz

where xxx.yyy.zzz is the IP of the machine running the ssh server.. and enjoy!

BTW, I had installed RH 7.1 but I changed into Mandrake 8.1 .... Now I CANNOT start a shh session, nor from puTTY neither from inside my Mandrake...
Anoy one knows how to allow the access?

Thanks....

P.S.: estesflyer... browse to
give it a try!!!
Once you try it, you can't give it up.... :) Arlequín
arlequin@montevideo.com.uy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top