In the previous article detailing the FTP service (service based on the file Transfer Protocol), this article describes another way to implement this feature, Telnet (telecommunications network remote login) service. This article describes the telnet I used to be familiar with Linux instructions under Windows, only need to use its remote access to Ubuntu can be convenient and practical.
Note: This article does not repeat the content that has been repeatedly specified in the previous text.
One, virtual machine Ubuntu turn on Telnet service
1) Enter command in Terminal: $ sudo apt-get install xinetd telnetd, installation complete xinetd and telnetd service. 2) in order to configure the Telnet service data transfer to stream mode, you need to configure the inetd.conf file. However, this computer does not have inetd service, so re-download openbsd-inetd.
After the installation completes the inetd service, in terminal input: $ sudo vim/etc/inetd.conf, open and modify the inetd.conf configuration file as follows:
3) Modify the xinetd.conf configuration file, Terminal input command: $ sudo vim/etc/xinetd.conf, configured as follows:
4) Modify the/etc/xinetd.d/telnet file, enter the terminal command: $ sudo vim/etc/xinetd.d/telnet, and then enter the following code to save.
5) Restart the Network service, Terminal Input command: $ sudo/etc/init.d/xinetd restart. This completes the Telnet service configuration.
Second, host Windows uses the Telnet service
1) Shut down the firewall first, or you will get an error. Refer to the previous article:"host Windows access virtual machine Linux files (i)".
2) Enter the command at the WINDOWS10 command prompt: telnet to ubuntu IP. Of course, if client telnet is not pre-enabled, it will be an error.
The solution to this problem is simple, give a Baidu Portal:"Win10 official version of Telnet is not internal or external command how to do."
3) at the command prompt, enter: Telnet ubuntu IP, if the connection is successful, you need to enter access to the Host account and password, the correct can control the Ubuntu host file resources through Windows.
Iii. Summary of Thinking
1. Daemon background process. In Linux systems, abbreviations end with D, often referring to server-side processes. Examples are as follows:
VSFTPD refers to the server-side background process that provides the FTP service; telnetd is Telnet-server, which provides a server-side background process for the Telnet service.
2. Telnet and telnetd differences
2.1) Telnet is equivalent to telnet-client. It is generally said that client telnet does not speak as telnet-client, but directly as Telnet.
2.2) telnetd is equivalent to Telnet-server, which is a server-side application for Telnet communication.
3. End Telnet Telnet in the Windows system by using the combo shortcut [Ctrl + D]. Add: End FTP service, enter command quit.
4. The meaning of the code in inet and inetd, as well as in various configuration files, will be discussed in more detail in subsequent articles.
Host Windows access virtual machine Linux files (ii)