To use the above win software to connect to a virtual machine, you must install certain software on the virtual machine. After installation, set it up You can connect in just a few moments. The specific connection methods are introduced below.
Virtual machine settingsOpen the virtual machine on win, open the system and click the black terminal icon on the system, as shown in Figure 2.
Enter the command in Figure 1 in the terminal, and then enter the letter y after entering it correctly.
Then enter the command: [ifconfig] to get the IP address of a virtual machine starting with inet. Remember this address, and then enter the command [who] to get the name of the currently logged in user. a, remember it the same.
win physical machine settingsDownload the software in Figure 1 and click on it.
Click next and click yes on the menu.
Enter a name and click next. Continue to click this next.
Click next and click finish.
After the software is installed, open it, click New on the software, and enter the IP address of the virtual machine on the host in Figure 3.
Click this link and click Accept to save.
Enter the username on the virtual machine and click OK. Enter the password and click OK. It is the login password of the current user of the virtual machine.
At this time, you will see that the virtual machine is connected. Entering this [ls] will list the files in the current directory on the virtual machine.
上一篇:为什么xshell连接不了虚拟机
下一篇:xshell连接虚拟机失败