June 5, 2015

How to enable telnet server on Centos 5

TELNET (TELetype NETwork) is a network protocol used on the Internet or local area network LAN connections.

Telnetd is normally invoked by the internet server inetd or xinetd for requests to connect to the telnet port as indicated by the /etc/services file. Usaually telnet listen on port TCP port 23.

Telnet in is insecure protocol and it is recommended that you use ssh server. But some time you really need telnet then first install telnet server as according to version of Linux distribution.

Telnet server installation:

[root@lecuong ~]# yum install telnet-server

Configure telnet server: 

The configuration file for telnet is /etc/xinetd.d/telnet. To enable telnet server you need to open this file and make sure disable = no read asdisable = yes.

[root@lecuong ~]# vi /etc/xinetd.d/telnet

Alternately:

[root@lecuong ~]# chkconfig telnet on

To start telnet server type command:

[root@lecuong ~]# /etc/init.d/xinetd restart


Finish !!

0 comments:

Post a Comment