SSH Configurations
Use this page to create SSH configurations, which can be used for configuring remote interpreters, connecting to SFTP deployment servers, and launching SSH sessions.
Toolbar
Item | Tooltip and Shortcut | Description |
---|---|---|
Add Insert | Create a new SSH configuration. | |
Delete Alt+Delete | Remove the selected SSH configuration. | |
Copy Ctrl+D | Create a copy of the selected SSH configuration. | |
Rename Shift+F6 | Rename the selected SSH configuration. |
SSH configuration settings
Item | Description |
---|---|
Visible only for this project | Restrict this SSH configuration to the current project. The configuration will not be available in other projects. PyCharm stores such configurations in the project's .idea directory, which you can share between team members in a VCS. By default, this option is disabled and PyCharm stores the SHH configuration in the IDE configuration directory. In this case, you can use this configuration in any project when working from the current instance of PyCharm. |
Host | Specify the hostname of the server to connect to. The default value is localhost . |
User name | Specify the username for authentication to the server. |
Port | Specify the remote port number to connect to. The default value is 22 (the standard TCP port for SSH). |
Local port | Specify the local port number from which you want to forward the connection. There is no default value, which means PyCharm dynamically selects the port number. |
Authentication type | Select the client authentication method:
|
Test Connection | Try to connect with the current SSH configuration settings. |
Connection Parameters
Item | Description |
---|---|
Send keep alive messages every | Send regular packets to keep the SSH connection active. Without regular messages, the remote server might close the connection. Set the message period in seconds. |
Strict host key checking | Specify how to handle new and changed host keys.
|
Hash hosts in known_hosts file | Store new host records in hash format. |