Windows uses Telnet to Telnet and control Linux systems in VMware virtual machines

Source: Internet
Author: User

First, describe

Install the VMware WORKSTATION10 in the WINDOWS7 system, install the CentOS6.5 operating system in the virtual machine, of course, this can be any Linux, the current mainstream is the use of SSH, SECURECRT or putty to log in and control the Linux system in the virtual machine, but if we want to telnet to the Linux system directly using the Windows-based Telnet service, we will use the following configuration to build the Telnet bridge.


Second, the configuration steps

The first step, the network connection in the virtual machine choice of NAT or hostonly can, we use the NAT network connection, the virtual machine in the Linux system and Windows system can ping each other ', as for the NAT network configuration detailed steps please see this URL: http ://blog.csdn.net/tongyuehong137/article/details/44981389.

My Linux operating system IP is: 192.168.200.5, my windows7 system local IP address is: 192.168.1.250, I can ping the Linux system from the Windows command line, the Linux system can also ping through the Windows system.



Second, in the Win7 command-line input: Telnet 192.168.200.5, the system prompts: not internal and external commands, or programs that can be run, because the Windows system does not turn on the Telnet service by default.



Then we'll turn on the Windows Telnet Service and click on the "Control Panel" button on the Start menu:



Then select the "Program" button in the popup dialog box:



Then select the "Turn Windows features on or off" button:



Finally, locate the Telnet client and hook it in front of it and click on the Confirm button and then prompt to start the service information that requires the Windows operating system to be restarted before it can take effect:




Second step: After restarting the Windows system, start the virtual machine and Linux operating system, and configure the firewall on the Linux system, the firewall port 23rd (Port 23rd is the default Telnet port) Open:

First, edit the firewall configuration file:/etc/sysconfig/iptables adds a line to the file:-a input-m State--state new-m tcp-p TCP--dport 23-j ACCEPT

[email protected] bin]$ sudo vi/etc/sysconfig/iptables



Second, start the Telnet service in Linux:

[[email protected]/]$ chkconfig telnet on

Then, check to see if the Telnet service starts properly:

[Email protected]/]$ chkconfig telnet--list
Telnet on
[Email protected]/]$

Finally, on the Windows command line input: Telnet 192.168.200.5 can log in to the Linux system in the virtual machine, note that the Telnet command is followed by the IP address of your own Linux system:


Windows uses Telnet to Telnet and control Linux systems in VMware virtual machines

Related Article

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.