Search at Knowledgebase
Cloud Server SSH Key Login Steps

Objective

Since users are able to login to an instance via SSH command and password, we also natively support instance via SSH key login.

Requirements

• Already created Varidata Cloud Server instance.
• Linux distribution instance.
• Login name and SSH private key.

Instructions

Using PUTTY and via SSH private key login the instance. Please ensure that the relevant access rules are defined in the “Security Group”.

ssh 0 1024x516 1 - Cloud Server SSH Key Login Steps

Step 1: Select “MyServices” -> “Manage Product” -> “Cloud Server Management” -> “Download SSH Private Key”.

ssh 1 1024x516 2 - Cloud Server SSH Key Login Steps

Step 2: Click “Download” and save it in a safe location.

ssh 2 1024x516 1 - Cloud Server SSH Key Login Steps

Step 3: Find the instance public IP address in “MyServices” -> “Manage Product” – > “Interfaces” -> ”Fixed IP Addresses”.

ssh 3 1024x516 1 - Cloud Server SSH Key Login Steps

Step 4: We need to convert SSH Private Key to a .ppk file in order to use it in PuTTY. Download the latest PuTTY and PuTTYGEN from here – https://www.puttygen.com/download-putty

ssh 4 1024x516 1 - Cloud Server SSH Key Login Steps

Step 5: To use PuTTYgen and convert a key into .ppk format. Open PuTTYgen, go to Conversions, and then click Import key.

ssh 5 1024x516 1 - Cloud Server SSH Key Login Steps

Step 6: PuTTYgen displays a window to load your key.

ssh 6 1024x516 1 - Cloud Server SSH Key Login Steps

Step 7: Browse to your SSH private key, select the file, and then click Open.

ssh 7 1024x516 1 - Cloud Server SSH Key Login Steps

Step 8: Go to File, and then click Save private key to save the key in .ppk format. User can now use the .ppk file as the instance private key.
For more information, see the PuTTYgen documentation, including the note about key formats.

ssh 8 1024x516 1 - Cloud Server SSH Key Login Steps
ssh 8a 1024x516 1 - Cloud Server SSH Key Login Steps

Step 9: Open PuTTY and then enter the instance public IP address in the “Host Name (or IP address)”.

ssh 9 1024x516 1 - Cloud Server SSH Key Login Steps

Step 10: Choose “Connection” -> “SSH” -> “Auth” and tick the checkboxes as pictured below.

ssh 10 1024x516 1 - Cloud Server SSH Key Login Steps

Step 11: Click “Browse” under “Private key file for authentication” and select your private key file in .ppk format.

ssh 10 1024x516 1 - Cloud Server SSH Key Login Steps

Step 12: Click “Open” to start connection.

ssh 11 1024x516 1 - Cloud Server SSH Key Login Steps

Step 13: Select “Accept”

ssh 13 1024x516 1 - Cloud Server SSH Key Login Steps

Step 14: Enter the username depending on the OS used for the instance.

ssh14 1024x516 1 - Cloud Server SSH Key Login Steps
ssh 14a 1024x516 1 - Cloud Server SSH Key Login Steps

Step 15: Success login with SSH key now.

ssh 15 1024x516 1 - Cloud Server SSH Key Login Steps
Your FREE Trial Starts Here!
Contact our Team for Application of Dedicated Server Service!
Register as a Member to Enjoy Exclusive Benefits Now!
Your FREE Trial Starts here!
Contact our Team for Application of Dedicated Server Service!
Register as a Member to Enjoy Exclusive Benefits Now!
Telegram Skype