Telnet in Linux

Telnet is developed focusing on client to server connection for data transfer. Telnet connects to the server in a plain text format. It was developed in 1969, due to security drawbacks it has been replaced by SSH in 1995.

To check whether telnet is active in your system use this following command in RHEL3/4.

[user@linux]# chkconfig telnet on
[user@linux]# service xinetd reload 

For fedora core1

Linux is configured to run the Telnet and FTP server, but by default, these services are not enabled. To enable the telnet these service, login to the server as the root userid and edit the files:

[user@linux]#/etc/xinetd.d/telnet

In this file, find the line for disable and change it from the value “yes” to “no”.

To connect to telnet we use the following command in linux

[user@linux]#telnet

To limit number parallel of telnet connections we shall reduce the following pts connections in the file /etc/securetty.

pts0

pts1

pts2

pts3

pts4

pts5


The above output will have 6 parallel telnet connections.

reference: http://www.idevelopment.info/data/Unix/Linux/LINUX_TelnetFTPAsRoot.shtml

en.wikipedia.org

Leave a Reply

Protected by WP Anti Spam