Remote access to a virtual machine using Telnet

Source: Internet
Author: User

In the front, it is possible to telnet to and access our virtual machines via SSH2 (Secure CRT), and you can actually telnet to Linux via the Wondows telnet service.

First of all, to ensure that the local Telnet service is turned on, or in the DOS command, is not recognized. In Control Panel-programs and features-turn Windows features on or off-telnet client hooks. It will not take effect until you restart your computer!


Second, the Telnet service is already installed and turned on in the virtual machine.

Three installations in virtual machines: xinetd-2.3.14-14.fc8.i386.rpm, telnet-server-0.17-35.2.1.i386.rpm, telnet-0.17-35.2.1.i386.rpm

(xinetd to install before telnet-server because the Telnet service relies on xinetd)

These three compressed packages can be placed in a shared folder, and then copied to the/usr/telnet folder (this casual)

Installation:


Third: Ensure network connectivity (mutual ping success) activate the Telnet server and view


IV: Execute service xinetd start to open xinetd daemon

V: On the server side test: Execute the telnet localhost command to see if you can log in successfully.


VI. Connecting a virtual machine under DOS

     If the above error occurs because the default port for the firewall is 23.

     Modify the firewall configuration file   vi/etc/sysconfig/iptables
     join -a rh-firewall-1-input-m State--state new-m tcp-p TCP--dport 23-j ACCEPT
service iptables restart

This will allow you to access the.

Remote access to a virtual machine using Telnet

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.