RubyMine 7.1.3 Help

Running SSH Terminal

You can launch an SSH Session right from RubyMine. By running commands in a dedicated SSH terminal, you can access, data on destination_environment via an SSH tunnel, mainly upload and download files.

On this page:

Preparing to work in the SSH terminal

  1. Make sure the SSH Remote Run plugin is enabled. The plugin is bundled with RubyMine and activated by default. If the plugin is not activated, enable it on the Plugins page of the Settings dialog box as described in Enabling and Disabling Plugins.
  2. Make sure, an SSH server is available in the destination environment: destination_environment.
  3. Register an account on the SSH server in the destination environment and generate a pair od SSH keys or a password, depending on the server policy.
  4. Appoint the destination environment and specify the settings to establish connection with it:
    1. Open the Settings dialog box by choosing File | Settings , then click SSH Terminal. The SSH Terminal page opens.
    2. In the Connection settings area, appoint the destination environment:
      • Current Vagrant: select this option to have the commands in the SSH Terminal executed on the currently running Vagrant virtual machine. For details, see Working with Reproducible Development Environments Using Vagrant.
      • Deployment server: select this option to have the commands in the SSH Terminal executed on the local or remote Web server accessible through one of the server access configurations. From the drop-down list, choose the server access configuration that specifies the destination environment and the settings to establish connection to it.
        • Select server on every run: if this option is selected, you will have to choose the desired server access configuration from the pop-up window, every time you choose Tools | Start SSH Session on the main menu.
        • If the desired server access configuration does not appear in the drop-down list, click the link Configure Servers, and define one in the Deployment page. For details, see Configuring Synchronization with a Web Server.
    3. From the Default encoding drop-down list, select the desired encoding to be used in the SSH terminal.

Launching an SSH terminal

  1. On the main menu, choose Tools | Start SSH Session.
  2. Depending on the connection settings, defined in the SSH Terminal page of the Settings dialog, the following types of behavior are possible:

    See Also

    Last modified: 27 June 2015