PoiNtEr->: Install Telnet Server in Ubuntu

                             Difference between a dream and an aim. A dream requires soundless sleep, whereas an aim requires sleepless efforts.

Search This Blog

Wednesday, June 29, 2011

Install Telnet Server in Ubuntu

You will find the Telnet server installation packages in Synaptic under the telnetd package.If you want to install telnet server package you can also use the following command

sudo apt-get install telnetd

This will complete the installation.Now you Restart inetd service using the following command

sudo /etc/init.d/inetd restart

Once installed, select Administration, Services and enable Telnet

you can now fire up your other Linux box and type telnet . You are prompted to enter your username and password. The whole conversation should look like this

vishal@Eva:~$ telnet
?Invalid command
telnet> open       
Connected to
Escape character is '^]'.
Ubuntu 11.04
Eva login: vishal
Last login: Wed Jun 29 23:09:50 IST 2011 from localhost on pts/2
Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38-8-generic i686)

* Documentation:  https://help.ubuntu.com/


you can also try it from other system or from virtual machine(xp or any) to connect by using

“telnet ip address” of linux machine which is running telnet sever,after this it will ask you for login and thats it !!


Note that the server responds with Welcome to telnetserver, running Ubuntu LAMP server, which is a customized message. Your machine will probably respond with Ubuntu and some version information. This is insecure: giving away version numbers is never a smart move. In fact, even saying Ubuntu is questionable. Edit the issue and issue.net files in your /etc directory to change these messages.

Running the w command now shows you as connecting from the external IP address.


vishal@Eva:~$ w

23:36:16 up  4:23,  9 users,  load average: 0.41, 0.37, 0.29
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
vishal   tty7     :0               19:12    4:23m 14:51   0.34s gnome-session -
vishal   pts/1    localhost        23:08    7:00   0.61s  0.04s telnet 127.0.0.
vishal   pts/2    localhost        23:09    7:04   0.60s  0.53s -bash
vishal   pts/3    :0.0             23:10   25:16   0.25s  0.25s bash
vishal   pts/4    :0.0             23:15   19:42   0.27s  0.27s bash
vishal   pts/5    :0.0             23:18    0.00s  0.26s  0.01s telnet
vishal   pts/6    localhost        23:20    0.00s  0.57s  0.00s telnet
vishal   pts/7    42-109-121-228.l 23:20    0.00s  0.58s  0.00s w
vishal   pts/8    42-109-121-228.l 23:23   11:10   0.63s  0.57s -bash