Home  >  Article  >  System Tutorial  >  Successful case of connecting local virtual machine with Xshell

Successful case of connecting local virtual machine with Xshell

WBOY
WBOYforward
2024-01-07 16:06:02533browse
Introduction How does xshell 5 connect to a local virtual machine? Please see below for the operation method! The specific steps to log in to the local virtual machine with xshell 5 are as follows:
1. First open the virtual machine and log in to the operating system;

Xshell 连接本地虚拟机成功案例
Enter "ifconfig", and in the pop-up command, the inet address is the IP address of the local virtual machine.

2. Then open the xshell software

If not, you can download xshell from http://www.linuxidc.com/Linux/2016-08/134086.htm

Click the "New" button, or use the shortcut key Alt N to create a new session

Xshell 连接本地虚拟机成功案例

Enter the virtual machine IP you just obtained in the host in the session and click OK

Xshell 连接本地虚拟机成功案例

A dialog box will appear, then click the link below

1. The SSH username dialog box will pop up. Enter the username you set, and then check Remember username. You don’t need to enter it again when you log in next time. As for how to automatically save the account and password
2. Then the user authentication dialog box will pop up, enter the password and click OK
3. At this time, xshell is connected to the local virtual machine, and you can directly use xshell to control the virtual machine.
The above is the xshell 5 operation method introduced by the editor for novices to log in to the local virtual machine. I hope it can be helpful to everyone!

The above is the detailed content of Successful case of connecting local virtual machine with Xshell. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:linuxprobe.com. If there is any infringement, please contact admin@php.cn delete