How to connect to Jelastic using PuTTY

Connecting to the SSH gateway or to your specific node is really easy, all you need to do make some basic configurations in your SSH client and you’re ready to go.

Bellow you can see what you need to do in 4 simple steps.

Step 1: Add your Public Key

First you will need to add your Public Key to your account.

  1. Open Account Settings via the button at the top-right of the dashboard, as shown below:
  2. account settings

  3. Click SSH Keychain > Public > Add Public Key
  4. Enter a meaningful ‘Title’ to help you identify this key in future, and copy/paste the SSH key into the ‘Key’ box.
  5. Click Add key

Step 2: Get your connection details

You can see your connection details in Settings > SSH Keychain > Public.

connect to Jelastic using PuTTY - step 2-1

20106 is the User ID. This will be different for you, so make sure to check your own dashboard!

gate.j.layershift.co.uk is the hostname for the SSH gateway that you’re connecting to

3022 is the port number

If you would like to connect to a specific node directly, you will need to combine the Node ID with your User ID to log in in the following format: nodeID-userID.

To get your Node ID, first find the environment and then expand the UI.

connect to Jelastic using PuTTY - step 2-2

112559-20106 is the username needed to connect to this specific Apache node. Please note that you will need to check your dashboard for your own node ID.

Step 3: Configure your PuTTY session

  1. Open PuTTY and go to Session.
  2. connect to Jelastic using PuTTY - step 3-1

  3. Configure your basic session options and save it for future connections.
    • Enter the Host Name: gate.j.layershift.co.uk
    • Enter port number: 3022
    • Name your session

    connect to Jelastic using PuTTY - step 3-2

  4. Enter your username
  5. In the left hand pane select Connection > Data.

    connect to Jelastic using PuTTY - step 3-3

    If you would like to connect to the Jelastic Gateway, enter your User ID.

    If you would like to connect to a specific node, you will need a username in the following format: nodeID-username.

    connect to Jelastic using PuTTY - step 3-3b

  6. Add your private key
  7. On the left-hand menu go to Connection > SSH > Auth and click Browse to find your Private key.

    connect to Jelastic using PuTTY - step 3-4

  8. Save the session
  9. Go back to Session and Save again.

    connect to Jelastic using PuTTY - step 3-5

Step 4: Connect to your Jelastic environment

  1. Select the session name from your saved sessions and click Load to load your previously saved settings.
  2. connect to Jelastic using PuTTY - step 4-1

  3. Click Open.
  4. connect to Jelastic using PuTTY - step 4-2

157
2617

Need More Help?

If you're still having problems, get in touch with our 24/7 support team! We'll be more than happy to help.