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

How to use Pycharm built-in terminals and remote SSH tools

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly introduces "how to use Pycharm built-in terminals and remote SSH tools". In daily operation, I believe many people have doubts about how to use Pycharm built-in terminals and remote SSH tools. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts about "how to use Pycharm built-in terminals and remote SSH tools". Next, please follow the editor to study!

1. Theme

How to use Pycahrm built-in terminals and remote SSH tools.

2. Preparatory work

Pycharm version 3.0 or higher

Connect to the SSH server

3. Use the SSH client

4. Open the connection

Select Tools | Start SSH Session... Click the main menu command of Edit credentials:

5. Provide connection information

Enter the relevant information needed to establish the connection in the Session dialog box:

6. Establish a connection

Click OK to start the connection:

7. SSH session function

Run commands, paste copy, browse history commands.

8. The role of remote SSH external tools

Define an external tool to run commands offline, such as displaying a calendar.

9. Configure an external tool for SSH

Open the settings dialog box, under the IDE Settings node, select the Remote SSH External Tool page, click the green plus sign to create a new remote tool, and make some necessary settings in the Create Tool dialog window:

(1) Name

The Description column provides several types of descriptions.

Group specifies to create cascading menus to hold external tool names

(2) Show in specifies the display location of the new tool. Only Main Menu is checked here.

(3) in the Connection settings region, select the radio button of Select server on every run, that is, detailed settings are required for each run of the service.

(4) in the Tool settings area, specify the tools, parameters and working directory to be executed remotely, or you can use macros instead of the current command:

Click OK, close the Create Tool dialog dialog box, return to the Remote SSH External Tool page, and you can see the newly created tool in the drop-down list:

For more information on other controls, please see product documentation.

10. Load SSH external tools

The set tool is displayed for selection in menus, which is shown here under the Tools menu:

Next, try using this command. First select the server to connect to:

Make the relevant settings:

Finally, the calendar is displayed smoothly:

The SSH session runs in the terminal tools window, and external tools are loaded in the Run tool window window:

At this point, the study on "how to use Pycharm built-in terminals and remote SSH tools" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

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

Development

Wechat

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

12
Report