Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The concrete operation of Xshell remote connection

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article introduces the relevant knowledge of "the specific operation of Xshell remote connection". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Here take Xshell6 as an example, the specific tutorials are as follows.

1. Click "file"-> "New" at the top left, as shown in the following figure.

2. Then the following screen pops up, which is the setting interface for the new session. Here, we need to set the name of the session and the IP address of the host, in the column corresponding to the red box.

3. Here I name it slave2, then give the IP address of the terminal, and click "OK" when the setting is complete.

4. At this point, you can see the newly created slave2 session under the "all sessions" directory on the left, as shown in the following figure.

5. Select the session slave2 you just created, then right-click and select "OPEN", as shown in the following figure.

6. Then a remote security warning screen will pop up, which means whether you want a "one-time connection" or "accept and save" for this remote connection. Considering that we often have to connect remotely to the terminal, we generally choose to "accept and save", as shown in the following figure.

7. The following screen pops up, where we need to give the user name of the remote connection.

8, the user name is generally root, if you want Xshell to remember your login, remember to check the blank box in the following picture, as shown in the following figure, and then click "OK" to connect.

9. In this step, you need to enter the password of the remote terminal or server or virtual machine, as shown in the following figure, and then you can choose whether to let Xshell remember your login password.

10. Fill in the login password here, check the drop-down box of "remember password", and then select "OK", as shown in the following figure.

11. After the above steps are completed, Xshell will connect automatically. As shown in the following figure, the remote connection terminal slave2 is successful.

At this point, the tutorial on remote connection to terminals by Xshell has been completed. Here is a tip for manipulating more than one terminal at a time, as follows.

1. Click "View"-- > "Compose"-- > "ComposeBar" (bar form) or "Compose Pane" (panel form) in the Xshell home tab.

2, after the selection is completed, a small blank box will appear at the bottom of the Xshell, which will be used to write manipulation commands.

3. Click the small logo on the left side of the blank box, and then right-click, as shown in the following figure. Check the third "To All Sessions", which means that the operation command is sent to all sessions, that is, the command is executed on multiple terminals at once.

4. Verify below and enter the command "ls", as shown in the following figure. You can see that the command "ls" is executed on all three terminals. In general, after an one-time execution, a blue exclamation point is generated on the left side of the other session window, as shown in the following figure, indicating that the command has also been executed.

This is the end of the content of "specific Operation of Xshell remote connection". Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report