1. Theme
How to use the PYCAHRM built-in terminal and remote SSH tools.
2. Preparatory work
Pycharm version 3.0 or higher
Connecting to an SSH server
3. Using the SSH client
4. Open Connection
Select Tools | Start SSH Session ... The main menu command, click Edit Credentials:
5. Provide connection information
In the Session dialog box, enter the information you need to establish the connection:
6. Establish the connection
Click OK to start the connection:
7. SSH session function
Run command, paste copy, browse history command ...
8. The role of remote SSH external tools
Defines an external tool to run commands offline, such as displaying a calendar.
9. Configure an SSH external 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) Name
The description column provides several types of descriptions.
Group Specifies to create a cascading menu to hold external tool names
(2) show in specifies the location of the new tool, just check main Menu
(3) Connection Settings Area Select the radio button on the Every run of select server, which requires detailed setup for each run of the service.
(4) In the tool Settings area, specify the tools to be executed remotely, the parameters and working directory are optional, or you can replace the current command with a macro:
Click OK to close the Create Tool Dialog dialog box and return to the Remote SSH External tool page, where you can see the newly created tools in the drop-down list:
Additional control information is described in product documentation.
10. Load SSH External Tools
The Set up tool is displayed in menus for selection, which is shown under the Tools menu:
Next try to use this command. First select the server you want to connect to:
To make the relevant settings:
Finally, the calendar is displayed smoothly:
The SSH session runs in the Terminal Tools window and the external tools are loaded in the Run tool Windows window:
Most complete Pycharm tutorials (--PYCAHRM) use of built-in terminals and remote SSH tools