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? |
Simply typing telnet from the command prompt gave me this:
[xxxxx@xxx-xxxxxxxxx xxxxx]$ telnet telnet> |
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.
|
[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? |
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.
|
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. |
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 |
I guess even more importantly, isnt using telnet not really a great idea vs using ssh?
|
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.
|
can't ssh be installed on an hp unix server? have you tried convincing those in charge to try? I would/
|
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? |
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). |
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). |
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]# |
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. |
All times are GMT -5. The time now is 10:56 PM. |