ubuntu14.04 Install Telnet

Source: Internet
Author: User
1, first view Telnet running state

netstat-a | grep telnet

The output is empty, indicating that the service is not turned on 2, installation openbsd-inetd

Apt-get Install openbsd-inetd

If you have already installed, you will be prompted to do so, just follow the steps below. 3. Installation telnetd

Apt-get Install telnetd

After installation, view the contents of the/etc/inetd.conf will be one more line of Telnet stream TCP nowait telnetd/usr/sbin/tcpd/usr/sbin/in.telnetd

cat/etc/inetd.conf | grep telnet

Output: Telnet stream tcp nowait telnetd/usr/sbin/tcpd/usr/sbin/in.telnetd 4, reboot openbsd-inetd

/etc/init.d/openbsd-inetd restart

Output: * Restarting Internet superserver inetd 5, view telnet run status

netstat-a | grep telnet

Output: TCP 0 0:telnet:* LISTEN

This indicates that the Telnet service has been turned on. 6, Telnet landing test

Telnet 127.0.0.1

Output:

Trying 127.0.0.1 ...
Connected to 127.0.0.1.
Escape character is ' ^] '. (Press CTRL + when you stop here) and enter.

Telnet> (indicates successful landing)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.