The newly installed Ubuntu12.04 has no telnet function. You need to configure it. I mainly want Ubuntu12.04 to enable the telnet service as a server. Install openbsd-inetd: # sudoapt-getinstallopenbsd-inetd install telnetd: # sudoapt-getinstalltelnetd. You can see this line in the etc/inetd. conf file: telnet
The newly installed Ubuntu 12.04 does not have the telnet function. You need to configure it. I mainly want to enable the telnet service for servers in Ubuntu 12.04.
Install openbsd-inetd:
# Sudo apt-get install openbsd-inetd
Install telnetd:
# Sudo apt-get install telnetd
You can see this line in the etc/inetd. conf file:
Telnet stream tcp nowait root/usr/sbin/tcpd/usr/sbin/in. telnetd
If this line does not exist, manually add
Restart openbsd-inetd
#/Etc/init. d/openbsd-inetd restart
View telnet running status
# Netstat-a | grep telnet
Output: tcp 0 0 *: telnet *: * LISTEN
In the windows command line, enter telnet 192.168.1.8 (My linux IP address)
Enter the user name and password as prompted (non-root User)
The effect is as follows:
Ubuntu 12.04
Ubuntu login: kevin
Password:
Linux ubuntu 2.6.35-22-generic # 33-Ubuntu SMP Sun Sep 19
20:34:50 UTC 20
10 i686 GNU/Linux
Ubuntu 12.04
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
New release 'natty 'available.
Run 'do-release-upload' to upgrade to it.
The programs encoded with the Ubuntu system are free software;
The exact distribution terms for each program are described in
Individual files in/usr/share/doc/*/copyright.
Ubuntu comes with absolutely no warranty, to the extent permitted
Applicable law.
Install and create a Telnet server http://www.linuxidc.com/Linux/2010-03/25150.htm in Ubuntu
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-04/116125.htm