xshell is a powerful secure terminal simulation software that supports multiple security protocols. Users can use it to access remote servers under different systems under the Windows interface, thereby better achieving the purpose of remote control of the terminal. In addition, it also has rich appearance color schemes and style choices. However, many users have been asking recently, how does xshell connect to a Linux virtual machine? Therefore, the editor will bring you a tutorial on xshell remote connection to the Linux server this time. Friends in need should take a look!
xshell remotely connects to linux server
1. First, we find the installed xshell on our computer and open it.
2. After opening xshell, find the first "File" in the upper left corner and click on it. A drop-down box will pop up, select "New" and click (or directly press the shortcut key "Alt n").
3. After clicking "New", the following interface will appear. Fill in the "Name" according to your needs, the "Protocol" is the default SSH, and the "Host" is the most critical in this step. , must be filled in correctly, otherwise you will not be able to log in. The port is also the default 22. There is no need to fill in the others. After filling in, do not click OK until you see the next step.
4. Find "User Authentication" in the menu bar and click it. After clicking, you will be asked to fill in your user name and password.
5. "Method" defaults to "password", "Username" fills in your FTP username, "Password" fills in your FTP password, click OK after filling in.
6. In this step, let’s log in to the account we just saved, and then find “File” --> “Open” in the upper left corner. The following interface will pop up. There is an option in the lower left corner to “Show on startup. This dialog box", this option means: every time you open xshell, this dialog box will pop up directly, check according to your needs, then find the server you want to log in to, and click "Connect".
7. After the connection, the [root@******] style in the following interface appears, which proves that the connection is successful.
The above is the detailed content of Learn how to use Xshell to connect to a Linux server remotely. For more information, please follow other related articles on the PHP Chinese website!