Xshell remote connection to Linux: 1. Open xshell; 2. Select "New"; 3. Click "User Authentication" in the menu bar; 4. Find the server you want to log in to and click "Connect" That’s it.
The operating environment of this article: linux5.9.8 system, xshell5 version, Dell G3 computer.
How does xshell connect to linux remotely?
First we find the installed xshell on our computer and open it.
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").
After clicking "New", the following interface will appear. Fill in the "Name" according to your needs, and the "Agreement" is The default SSH, "Host" is the most critical in this step. It 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.
Find "User Authentication" in the menu bar and click it. After clicking, you will be asked to fill in your user name and password. "Method" defaults to "password" and "User" Fill in your FTP username for "Name", fill in your FTP password for "Password", and click OK when completed.
## In this step, let’s log in to the account we just saved, and then find “File” in the upper left corner--> “Open” , the following interface pops up. There is an option in the lower left corner "Show this dialog box at startup". This option means: every time you open xshell, this dialog box will pop up directly. Check it according to your needs, then find the server you want to log in to, and click Just "Connect". After the connection, the [root@******] style in the following interface appears, which proves that the connection is successful. It’s very simple. You must ensure the security of your data during use. When you leave the computer or do not need to use it, exit it. The safer way is if If you remember the "host", "username" and "password" of your server clearly, try not to save the account password and re-enter it every time you open it to connect. Recommended study: "linux video tutorial"
The above is the detailed content of How to connect xshell to linux remotely. For more information, please follow other related articles on the PHP Chinese website!