Next, click on the Settings button at the top panel of the dashboard to get an SSH connection string for your account.
Go at SSH Keys (SSH Connect tab will be opened by default) Here, you can find the required information to access an account, including an SSH connection string.
Important!: Within the right part of the section you can establish a Web SSH connection to any node directly in the browser.
SSH Access to Jelastic Account
- For Linux/macOS/FreeBSD, please follow this steps:
Open your terminal and execute the SSH connection string.
- For Windows, please follow this step:
Download and run your SSH client (e.x. PuTTY).
Go to the Session tab in the left-hand list and fill in the Host Name (or IP address) and Port fields in accordance with your SSH connection string.
Important!: To add your private SSH key with PuTTY, download and run the Pageant tool. Click the Add Key button, and choose the proper SSH key file.
1- By finishing the above steps, you will see a list of environment groups (with a number of containers within, provided in brackets) and ungrouped environments available for your account. Enter the appropriate number the select the required point.
Important!: Only running environments can be accessed.
2- After selecting an environment, you will see a full list of its containers, grouped by layers. Herewith, the master node (required for clustering, scaling, cloning, etc) is marked with the [M].
Each container is provided with node id, LAN IP, WAN IP, and Alias data. Enter its number to access the required node.
Direct Access to Container
You can go directly to the necessary container, skipping the steps of choosing the appropriate environment and node. But first, state the proper container ID (can be seen at the dashboard next to the corresponding node) at the beginning of the connection string.
For example, to access the Tomcat container (image above), you should add the 36864- prefix to the default account connection string as shown below:
ssh [email protected] -p 3022
It can be useful to automate scripts or to set up up application configurations ( ex. Capistrano).