1, themes,

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

2. Preparation

Pycharm is 3.0 or higher

Connecting to the SSH Server

3. Use the SSH client

4. Open the connection

Select Tools | Start the SSH Session… The main menu command, click Edit Credentials:

5. Provide connection information

Enter the information required to establish a connection in the Session dialog box:

6. Establish a connection

Click OK to start the connection:

SSH session function

Run commands, paste and copy, browse history commands……

8, Remote SSH external tools function

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

9. Configure an EXTERNAL SSH tool

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 the necessary Settings in the Create Tool Dialog window:

(1) the Name

The Description column provides multiple types of descriptions.

Group specifies that a cascading menu is created to store external tool names

(2) Show in Specifies the display location of the new tool. Here, select Main Menu only

(3) Connection Settings area Select the Select Server on every Run radio button, that is, detailed Settings are required each time the service is run.

(4) In the Tool Settings area, specify the Tool to be executed remotely. Parameters and working directory are optional, or you can use macros to replace the current command:

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

See Product Documentation for additional control information.

10. Load external SSH tools

The set Tools are displayed in menus for selection, as shown here under the Tools menu:

 

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

Related Settings:

Finally, display calendar smoothly:

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

Source: CSDN Blog

This article is from SDK Community (www.sdk.cn/)