Hi, I managed to install the telnet in an Ubuntu 10.0.4, but few things. Is too slow to access the telnet (40 sec to ask for the user), its not a server issue the sshd service access in 1 sec.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Today!Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.Are you new to LinuxQuestions.org? Visit the following links: If you have any problems with the registration process or your account login, please. If you need to reset your password,.Having a problem logging in? Please visit to clear all LQ-related cookies.
Introduction to Linux - A Hands on GuideThis guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.to receive this Complete Guide absolutely free.
I was using telnet mydomain.com 25 and telnet mydomain.com 80 to check every some minute the status of port 25 and 80 for my domain. Now my datacenter uninstalled 'telnet', have I some alternative to telnet linux command please?If I read this correctly your goal is not to use telnet but to be able to monitor services.
If you monitor services then you will probably also restart them automagically on and be notified of certain conditions. While homebrewn kludges are nice they're usually not that configurable (say switching to HTTPS) or extensible (add NTP, a specific web-based application path, etc, etc) and that's why people before you already invented the wheel. So unless you want to re-invent the wheel, why not use something like Monit, Hobbit or even Nagios? Wrong.please re-read my post. You have to SPECIFY the port, like 'wget localhost:443', or 'wget 10.11.12.13:25'Yea.may be u r rite.if the requirement is just to check if a port is open, you can use the port no. Along with the domain name or IP.
But it will try to send http request to that port, even if wget is made to connect to a non-http port.Anyway I think graziano1968, can use this to check the availability of a remote port.root@localhost # wget linux-web.com:25-2011-08-21 19:48:14-Resolving linux-web.com. 202.65.135.196Connecting to linux-web.com 202.65.135.196 :25. Connected.HTTP request sent, awaiting response. 200 No headers, assuming HTTP/0.9Length: unspecifiedSaving to: `index.html' 294 -.-K/s in 0s2011-08-21 19:48:16 (13.4 MB/s) - `index.html' saved 294root@localhost # vi index.htmlroot@localhost #root@localhost #root@localhost # cat index.html220-server102.hostcats.com ESMTP Exim 4.69 #1 Tue, 11 Oct 2011 09:49:31 +0530220-We do not authorize the use of this system to transport unsolicited,220 and/or bulk e-mail.500 unrecognized command500 unrecognized command500 unrecognized command500 Too many unrecognized commands.
Hey,If you are just only concern to check the port avaibility then why dont you use the 'nmap -sT -p '. This will simply gives you the status of open ports on the respective remote servers.Thanks & Regards,Ramesh ShihoraThe problem is that nmap does not come preinstalled in all OS (such as red hat, centos). I am searching an alternative to telnetwhich is available in almost all major linux distro such as Red Hat/Centos.- Post added 10-11-11 at 05:44 AM.
Please do note, that using Telnet is insecure because the communication is not encrypted, yourpasswords and all other data will be transmitted as clear texts. Use Secure Shell (SSH) instead avoiding Telnet.To Enable TelnetInstall the Telnet server with sudo apt-get install xinetd telnetdThe service should be fired-up automatically once the installation is done. Your may also check the service status if required using; sudo /etc/init.d/xinetd statusTo Telnet an IP telnet serveripIf you would like to change its ports, you'll need to edit /etc/services with the line; telnet 23/tcpOnce changed, restart to apply the changes with; sudo /etc/init.d/xinetd restartMore info. Open terminal and run: sudo apt-get install xinetd telnetdThe Telnet service is started automatically once the installation is done. And you can either run telnet serverip or use a Telnet client (PuTTy, SecureCRT, etc.) to access this server.To change the port (default is 23), edit the /etc/services file with your favorite text editor. Find out and change the number in the line below: telnet 23/tcpTo apply changes, you have to restart the service by running the command below: sudo /etc/init.d/xinetd restartTelnet is insecure because the communication is not encrypted, your password and all other data will be transmitted as clear text. If possible avoid Telnet, and use Secure Shell (SSH) instead.referenceFurther you may refer.