↑ Return to Servers

Telnet

Telnet is a network protocol that allows remote login over a network.It supports cross platform, that is a client sitting on a windows machine can access a telnet server configured on a linux machine.

It works on port number 23

In telnet data is transmitted in clear text over a network, that is it can be  viewed by a third party over the network, however we can configure telnet to encrypt data before transmitting.

 

Telnet in RedHat and other rpm based Operating systems:

 

1. Install software

For Telnet Server we use “telnet-server” program.

Remember root access is required to install any package. We can switch to root account using following command in linux terminal

$su – root

We can install telnet using yum or rpm

(i)   yum :

One can use yum to install directly from network

$yum install telnet-server

 

(ii)  rpm :

If  “telnet-server” package is  available in local filesystem then we can install it directly from local system using rpm command.

$cd PATH_OF_DIRECTORY_CONTAINING_TELNET_SERVER_PACKAGE

$rpm -ivh telnet-server

 

2.Configuration

Configuration file for telnet is /etc/xinetd.d/telnet

Telnet service is disabled by default in its configuration file. We first have to enable it, by changing value of

disable = yes

to

disable = no

telnet1

 

 

3. Start Service

Telnet service is managed by xinetd  so we have  to restart this service

$service xinetd start

 

Note:

In case any change is done in the configuration file, it will not be reflected immediately. So to update the change made, we have to restart the service

$service xinetd restart

 

Telnet Client

A client can access telnet server using command

$telnet SERVER_IP

or

$telnet SERVER_HOSTNAME

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Warning: require_once(): open_basedir restriction in effect. File(/home/admin/web/stats.theserverhouse.com/public_html/owa_php.php) is not within the allowed path(s): (/home/admin/web/linuxjoy.in/public_html:/home/admin/tmp) in /home/admin/web/linuxjoy.in/public_html/index.php on line 20

Warning: require_once(/home/admin/web/stats.theserverhouse.com/public_html/owa_php.php): failed to open stream: Operation not permitted in /home/admin/web/linuxjoy.in/public_html/index.php on line 20

Fatal error: require_once(): Failed opening required '/home/admin/web/stats.theserverhouse.com/public_html/owa_php.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/admin/web/linuxjoy.in/public_html/index.php on line 20