LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-12-2005, 01:31 PM   #1
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Rep: Reputation: 47
Telnetting in Linux


I am running Mandrake Linux 10.1 version.

I just want to know the existence of telnet command in Linux. It works fine in my Windows XP side.

I did the following:

[ka@c83-250-89-254 ka]$ cat /etc/shells
/bin/bash
/bin/csh
/bin/sh
/bin/tcsh
[ka@c83-250-89-254 ka]$ cd /bin
[ka@c83-250-89-254 bin]$ cd /bash
bash: cd: /bash: No such file or directory
[ka@c83-250-89-254 bin]$ cd /csh
bash: cd: /csh: No such file or directory
[ka@c83-250-89-254 bin]$ telnet
bash: telnet: command not found
[ka@c83-250-89-254 bin]$

It is my understanding the telnet command is in bash. I may be wrong.

Why it didn't find the telnet command here?
 
Old 04-12-2005, 01:50 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Simply typing telnet from the command prompt gave me this:

[xxxxx@xxx-xxxxxxxxx xxxxx]$ telnet
telnet>
 
Old 04-12-2005, 01:51 PM   #3
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
You can do a whereis telnet and see if it is installed on your system. If it is not, then you will need to install it.
 
Old 04-12-2005, 02:03 PM   #4
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
[ka@c83-250-89-254 ka]$ whereis telnet
telnet:

[ka@c83-250-89-254 ka]$ telnet
bash: telnet: command not found
[ka@c83-250-89-254 ka]$


The command whereis telnet worked fine.

The simple telnet command didn't work.

Why is this?
 
Old 04-12-2005, 02:27 PM   #5
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
The whereis command did not show a path to the executable. If it was there is would output telnet: /bin/telnet or something like that. Telnet is not installed on your system.
 
Old 04-12-2005, 02:39 PM   #6
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Could you please tell me a site to download telnet package?

Please tell me the exact site so as to click and download. I know how to decompress a tarball.
 
Old 04-12-2005, 06:08 PM   #7
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
It should be on the Mandrake CD set. Or download it from their site.
http://ftp.ale.org/pub/mirrors/mandr...-2mdk.i586.rpm
http://ftp.ale.org/pub/mirrors/mandr...-2mdk.i586.rpm
 
Old 04-13-2005, 03:03 AM   #8
archdev
Member
 
Registered: May 2004
Location: chicago and cincinnati
Distribution: fedora
Posts: 134

Rep: Reputation: 15
I guess even more importantly, isnt using telnet not really a great idea vs using ssh?
 
Old 04-13-2005, 07:03 AM   #9
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Sometimes you have an old system that uses telnet. We have an old, in 10 years old HP UNIX server that runs our MRP system at work. We use their telnet client to connect to it. I personually would use ssh, but most things are not under my control.
 
Old 04-13-2005, 09:09 AM   #10
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
can't ssh be installed on an hp unix server? have you tried convincing those in charge to try? I would/
 
Old 04-13-2005, 09:23 AM   #11
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
I downloaded the file from the website you have mentioned.

Afterwards, I logged on as a root user and tried in vain to open it. Please read the following:

[root@c83-250-94-237 ka]# tar -xvzf telnet-client-krb5-1.3.4-2mdk.i586.rpm

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
[root@c83-250-94-237 ka]#

What is the problem?
 
Old 04-13-2005, 09:31 AM   #12
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Yes, ssh can run on the HP server.

I have suggested open source prodjects before. They do not like them because they mostly offer little or no support contracts and all the admins(except one) are Windows trained only. We did put in a Squid proxy a while back though.

The branch I work at is a step child and they give little or no concern for us. It takes over a month to get a new PC, if that tells you something.

One example is, they are looking into setting up webmail. They rather spend the 10,000's of dollars on a MS program than look into stting up Squirrelmail or TWIG. Both will run on Windows and work with exchange.

Another on, we are implementing an new MRP system right now. It is over 2 years behind schedual.

Let me put it this way. Up until 4 months ago, We had no password rules. We had users that had passwords that where their first or last names. The managers name is Jim, his password was jim. That should say it all.

If I had my way, they would have ssh running on the UNIX server. But I do what I am told to do and fix the problems that arise. It is not worth the hassle, that is why I went back to college. In May I will graduate and then onto bigger and better places, hopefully a Linux place (hehe).
 
Old 04-13-2005, 09:33 AM   #13
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Sorry Gins, the files are not tarballs, they are RPMs. To install them do this.

rpm -i <name of the file>

If you only need the client, just install the client. Telnet is insecure and should not be used since it passes passwords in plain text. If you need to remotely admin a server, use ssh (OpenSSH).
 
Old 04-13-2005, 10:06 AM   #14
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
It didn't work. Some libkrb53 is missing. What is this? Please help me.

[root@c83-250-94-237 ka]# rpm -i telnet-client-krb5-1.3.4-2mdk.i586.rpm
error: Failed dependencies:
libkrb53 = 1.3.4-2mdk is needed by telnet-client-krb5-1.3.4-2mdk
[root@c83-250-94-237 ka]#
 
Old 04-13-2005, 10:12 AM   #15
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Go here and download the file.

http://ftp.ale.org/pub/mirrors/mandr...86/media/main/

If you get anymore dependency errors, download them and install them.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Telnetting Boggy B Linux - Software 7 01-05-2005 12:48 AM
Telnetting from outside IP?? CBRdave Linux - Networking 3 06-24-2004 10:59 PM
Telnetting to specifics ports and the available commands dominant Linux - Security 1 01-30-2004 07:25 PM
Telnetting to comp does not allow Root login ksoma Linux - Networking 9 06-22-2003 06:45 AM
Telnetting morbo Linux - Networking 3 12-10-2001 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration