Operating System - Linux
1820483 Members
2499 Online
109624 Solutions
New Discussion юеВ

How to open the telnet in Linux

 
SOLVED
Go to solution
Alan Vargas
Regular Advisor

How to open the telnet in Linux

Hello

I need to know how to open the telnet service in this SO, i have a backup application this application connect to linux server through telnet service.

Thanks for your help
3 REPLIES 3
Stuart Browne
Honored Contributor

Re: How to open the telnet in Linux

SO?

What distribution are you running?

If it's a red-hat based distribution, you need to make sure the 'telnet-server' package is installed, and that port 23 is allowed in through the firewall (iptables -I INPUT -j ACCEPT -p tcp --dport 23 -s ), and also that the TCP Wrappers allow it in (in '/etc/hosts.allow', a line saying 'in.telnetd:').

If all of that is done, it should be ok.

Just a note however, by default you can't telnet in to the server as 'root'.
One long-haired git at your service...
Steven E. Protter
Exalted Contributor
Solution

Re: How to open the telnet in Linux

After openning the port, the service will need to be enabled.

cd /etc/xinet.d

there will be a telnet file in there.

edit it.

change disable=yes to disable=no

restart the xinetd service.

In RH thats service xinetd restart

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ross Minkov
Esteemed Contributor

Re: How to open the telnet in Linux

Update that backup application to the latest version and see if supports anything else but telnet. If it doesn't, get rid of it. (What is the name of it btw?) telnet is not secure -- it transmits passwords in plain text over the network. Don't use it.

-Ross