Access Linux VPS Container via SSH Gate

In order to manage the required software inside your Elastic VPS container, you need to connect to it via SSH protocol. This can be performed through the dedicated Jelastic SSH Gate, which provides a single access point to configure all environments and servers within your account remotely, with the full root access granted.

Note: For the Windows virtual private server management, utilize the remote desktop protocol (RDP) support.

In case you prefer to operate your VPS container with the help of external SSH tools, consider establishing connection to it via Public IP address. Regardless of the chosen approach, the provided functionality and management capabilities will remain the same.

So below we’ll consider how to connect to your Jelastic account by means of Jelastic SSH Gate, based on the operating system that is run on your local machine:

Connection to Jelastic SSH Gate for MacOS/Linux/BSD

Jelastic SSH Gate allows to establish secure and encrypted connection to the remote VPS container and execute the required commands on it. If you haven’t established SSH connection before, you’ll need to perform the following steps:

The process of SSH connection setup is the same for all containers within the Platform, including Linux-based virtual private servers (i.e. on top of Ubuntu and CentOS). Thus, within this guide, we won’t dwell on this procedure - just refer to the linked above pages in our documentation to explore the full list of required actions.

Connection to Jelastic SSH Gate for Windows

For Windows operating system, the process of SSH connection establishment via Jelastic Gate is slightly different, since it requires to additionally handle SSH private key at your local machine. We’ll consider the needed operations with the example of PuTTYgen tool.

1. First, generate an SSH keypair and add a public key to the dashboard.

2. Run PuTTYgen and save private SSH key, which corresponds to the public one you’ve previously added to the dashboard.

ssh private key windows

Click on Save private key version and specify the path and name of the file it will be saved to.

3. Next, download and launch PuTTY SSH authentication agent (i.e. Pageant). In the opened window, click Add key button and navigate to the local file you’ve saved a private key to.

add ssh key windows

Then you can Close the window, so that Pageant will be rolled to the tray.

Note: Do not exit Pageant agent until SSH session (established in the next step) is closed, otherwise connection will be lost.

4. One more required tool is PuTTY SSH client itself. Once it has been downloaded and launched, access the Session tab located in the left-side Category section.

ssh session windows

Fill in the Host Name (or IP address) field with your SSH connection string, that can be seen in the Settings > SSH Keychain > Public tab at the dashboard. Specify 3022 Port number and press the Open button.

5. Thereafter, a console with the list of available environments from your dashboard will be displayed.

ssh console windows

6. Upon selecting the required environment, you’ll see a list of containers provisioned for it.

access vps ssh

Select a specific container (if there are several ones) or action by entering a corresponding number.

vps full root access

That’s it! Manage your VPS node with full root privileges granted, while operating with Windows OS.