CLOUD PAAS / DEVELOPMENT TOOLS

Generate SSH Key

This guide has been reviewed and reformatted for Ruk-Com Cloud PaaS. Screens may vary slightly by platform version.

Click or tap a screenshot to view it at its original size.

Objective

This guide explains how to use Generate SSH Key on Ruk-Com Cloud PaaS, with ordered procedures and practical verification points.

Before you begin

  • Sign in with an account permitted to manage the relevant environment.
  • Confirm the target environment, region and resources before saving changes.
  • Create a backup or rollback plan before changing a production system.

The following instructions will help you create an SSH Key Pair for securely connecting to services via SSH.
⚠️ Our system supports only keys.RSAor types with higher security only

    wp:list-item
  • Linux/MacOS
  • /wp:list-item wp:list-item
  • Windows
  • /wp:list-item

Linux/MacOS

You can easily generate an SSH Key using the commandssh-keygenthat is already installed with the system

Note:PaaS does not support DSA keys due to insufficient security level.

1. OpenTerminalorWindows TerminalStart the build with the following command:

ssh-keygen -t rsa
    wp:list-item
  • PressEnterto use the default path (~/.ssh/id_rsa) or specify the path yourself if desired.
  • /wp:list-item wp:list-item
  • Set a passphrase for additional security, or press Enter if you don't want to set a password.
  • /wp:list-item wp:list-item
  • For Linux, the file will be created:wp:list wp:list-item
  • ~/.ssh/id_rsaPrivate Key
  • /wp:list-item wp:list-item
  • ~/.ssh/id_rsa.pubPublic Key(used for adding to the system)
  • /wp:list-item /wp:list /wp:list-item wp:list-item
  • For Windows, the keys are normally stored at:wp:list wp:list-item
  • C:\Users\<username>\.ssh\id_rsaPrivate Key
  • /wp:list-item wp:list-item
  • C:\Users\<username>\.ssh\id_rsa.pubPublic Key(used for adding to the system)
  • /wp:list-item /wp:list /wp:list-item
wp:paragraph After the key is created:Take content from fileid_rsa.pubGo add it to your account onRuk-Com Cloud DashboardTo be used to confirm your identity when connecting throughSSH Gate,SFTP, orFISH /wp:paragraph

2. You can view the public and private SSH keys using the cat command, for example:

cat /home/jelastic/.ssh/id_rsa.pub

3. Now you canAdd SSH keygenerated to your account.

    wp:list-item
  • public keyfor access throughSSH Gate
  • /wp:list-item wp:list-item
  • the private keyforVerify your identityat your GIT repository via SSH
  • /wp:list-item

Windows

1. Download and run the SSH keygen tool for example.PuTTYgen:

2. Specify the following parameters:

    wp:list-item
  • Select SSH-2 RSA key type.
  • /wp:list-item wp:list-item
  • Enter the desired number of bits (e.g.2048)
  • /wp:list-item

3. This step depends on your desired key type:

    wp:list-item
  • In terms ofPublic keyProvide SSH access to your account vialocal clientCopy the generated code from the output field at the top of the window.
  • /wp:list-item
    wp:list-item
  • In terms ofPrivate keyFor authentication at the remote GIT repository via SSH - click on the menuConversionsand select an optionExport OpenSSH key
  • /wp:list-item

After that, you can open this file in a text editor and copy the key body to add it to the dashboard.