SSH Gate

Access via SSH Gate

SSH Gate allows you to connect to an entire platform account or directly to a specific container using a local SSH client.

Before connecting, generate an SSH key pair and add the public key to your platform account.

Get the SSH Connection String

1Open Account Settings

Click Settings in the upper dashboard toolbar.

Account settings button
Open Account Settings from the dashboard toolbar.

2Open SSH Connection

In Account settings, open SSH Keys > SSH Connection. Copy the SSH connection string displayed in this section.

SSH connection information
Copy the SSH Gate connection string for the platform account.
The right side of this section also provides Web SSH access for opening a selected node directly in the browser.

SSH Access to the Platform Account

The connection procedure depends on the operating system used on the local computer.

Linux, macOS, or FreeBSD

Open a terminal and execute the SSH connection string copied from Account Settings.

SSH Gate access from a terminal
Run the account connection string in a local terminal.

Windows

  1. Install and open an SSH client such as PuTTY.
  2. Open the Session section.
  3. Enter the host name and port from the SSH connection string.
  4. Select SSH as the connection type and open the session.
SSH Gate settings in PuTTY
Enter the SSH Gate host and port in PuTTY.

To load the private key with PuTTY, open Pageant, click Add Key, and select the appropriate private-key file.

Add private SSH key through Pageant
Load the private key into Pageant before opening the PuTTY session.

Select an Environment and Container

1Select the environment

After connecting, the SSH Gate displays environment groups and ungrouped environments available to the account. Enter the number of the required item.

Select an environment through SSH Gate
Select an environment group or individual running environment.
Availability: Only running environments can be accessed through SSH Gate.

2Select the container

The environment’s containers are grouped by layer. Enter the number of the required node.

Select a container through SSH Gate
Choose the required container from the environment topology.
  • The master node is marked with [M].
  • Each container entry includes the node ID, LAN IP, WAN IP, and alias.
  • The master node is used for operations such as clustering, scaling, and cloning.

Direct Access to a Container

You can connect directly to a specific container without selecting the environment and node interactively. Add the container ID as a prefix to the account username in the SSH connection string.

Container node ID in the dashboard
Find the required container ID beside the node in the dashboard.

For example, to connect directly to the container with node ID 36864, prefix the account connection username with 36864-:

ssh 36864-4701@gate.jelastic.com -p 3022
Direct container access is useful for automation scripts and deployment or configuration tools such as Capistrano.

What’s next?