Remote access to virtual machines using telnet
As mentioned earlier, we can log in and access our virtual machine remotely through SSH2 (Secure CRT). In fact, we can also remotely log in to linux through the telnet service that comes with wondows.
First of all, make sure that the native telnet service is turned on, otherwise it will not be recognized in the dos command. Tick "Control Panel"-"programs and Features"-"turn Windows features on or off"-"Telnet client". After that, you have to restart the computer to take effect!
Second, the telnet service is installed and enabled in the virtual machine.
Three need to be installed in the virtual machine: xinetd-2.3.14-14.fc8.i386.rpm, telnet-server-0.17-35.2.1.i386.rpm, and telnet-0.17-35.2.1.i386.rpm
(xinetd should be installed before telnet-server, because the telnet service depends on xinetd)
You can put these three compressed packages in a shared folder and copy them to the / usr/telnet folder (this is whatever)
Installation:
Third: make sure that the network is connected (mutual ping is successful) activate the telnet server and view
Fourth: execute service xinetd start to start the xinetd daemon
Fifth: test on the server side: execute the telnet localhost command to see if you can log in successfully.
Sixth, connect the virtual machine under dos
If the above error occurs, the reason is that the default port of the firewall is 23.
Modify the firewall configuration file vi / etc/sysconfig/iptables
Add-A RH-Firewall-1-INPUT-m state-- state NEW-m tcp-p tcp-- dport 23-j ACCEPT
Then restart iptables: service iptables restart
So you can access it.