JetBrains Rider 2026.3 Help

Create SSH configurations

In JetBrains Rider, you can save the remote server SSH connection parameters as a dedicated SSH configuration. The created configuration can be then used for Configuring remote Node.js runtimes, connecting to SFTP deployment servers, or launching SSH sessions.

Create an SSH configuration with OpenSSH

With the OpenSSH SSH session backend, JetBrains Rider connects through the OpenSSH client installed on your computer and reads the connection settings from your SSH config file. To connect, you only need to specify the Host field.

For example, your ~/.ssh/config file contains the following entry:

Host linux-server User user HostName 192.0.2.10 Port 22 PreferredAuthentications publickey IdentitiesOnly yes IdentityFile ~/.ssh/id_ed25519
  1. In the Settings/Preferences dialog (Ctrl+Alt+S) , go to Tools | SSH Configurations.

  2. In the left pane, click Add item.

  3. Use the Visible only for this project checkbox to enable reuse of this server access configuration in other projects.

    • Select the checkbox to restrict the use of the SSH configuration to the current project. Such SSH configuration cannot be reused outside the current project. It does not appear in the list of available configurations in other projects.

      Project-specific configurations are stored in the .idea directory. Review these files before sharing them through version control. Server configurations available to all projects are stored in the IDE settings.

    • When the checkbox is cleared, the SSH configuration is visible in all JetBrains Rider projects. Its settings can be reused across several projects.

  4. In the SSH session backend options, select OpenSSH.

  5. In the Host field, specify the host alias from your SSH config file, for example, linux-server.

    JetBrains Rider reads the hostname, the user, the port, the authentication method, and the keys from the config file. All other fields in the dialog are optional.

  6. Click the Test Connection button to make sure that the settings are correct and JetBrains Rider can connect to the target server.

Create an SSH configuration with SSHJ

With the default Legacy SSH session backend, JetBrains Rider connects through the built-in SSHJ library. Specify the connection parameters and the authentication method in the dialog.

  1. In the Settings/Preferences dialog (Ctrl+Alt+S) , go to Tools | SSH Configurations.

  2. In the left pane, click Add item.

  3. Use the Visible only for this project checkbox to enable reuse of this server access configuration in other projects.

    • Select the checkbox to restrict the use of the SSH configuration to the current project. Such SSH configuration cannot be reused outside the current project. It does not appear in the list of available configurations in other projects.

      Project-specific configurations are stored in the .idea directory. Review these files before sharing them through version control. Server configurations available to all projects are stored in the IDE settings.

    • When the checkbox is cleared, the SSH configuration is visible in all JetBrains Rider projects. Its settings can be reused across several projects.

  4. In the Host, Username, and Port fields, specify the connection parameters.

  5. Choose the way to authenticate to the server. Do one of the following:

    • Password: Access the host with a password. To save the password in JetBrains Rider, select the Save password checkbox.

    • Key pair (OpenSSH or PuTTY): Use SSH authentication with a key pair. To apply this authentication method, you must have a private key on the client machine and a public key on the remote server. JetBrains Rider supports private keys that are generated with the OpenSSH utility.

      Specify the path to the file where your private key is stored and type the passphrase (if any) in the corresponding fields. To have JetBrains Rider remember the passphrase, select the Save passphrase checkbox.

    • OpenSSH config and authentication agent: Use a credentials helper application that manages your SSH keys, such as ssh-agent or Pageant (Windows only).

    For more information about working with SSH keys, refer to the Generating a new SSH key and adding it to the ssh-agent tutorial.

    If you select the OpenSSH config options, JetBrains Rider parsers OpenSSH directives recorded in SSH config file: /etc/ssh/ssh_config > and ~/.ssh/config on Linux and macOS, or C:\Users\<username>\.ssh\config on Windows. JetBrains Rider supports a limited set of OpenSSH directives.

  6. Click the Test Connection button to make sure that the settings are correct and JetBrains Rider can connect to the target server.

Supported OpenSSH directives

When you use OpenSSH config and authentication agent, JetBrains Rider reads your SSH configuration files. Choose how to read them in Settings | Advanced Settings | SSH | Configuration files parser.

The default OpenSSH option requires OpenSSH on your computer and runs ssh -G to read the configuration. JetBrains Rider then applies the settings supported by its SSH implementation, not every OpenSSH feature.

The Legacy option uses the parser built into JetBrains Rider, which supports the following directives:

28 September 2026