How Can We Help?

Table of Contents
Categories
Print

Key pairs and connecting to VPS

A key pair is a set of security credentials that you use to prove your identity when connecting to a PD Hosting's VPS instance. A key pair consists of a public key and a private key.

On Linux and Unix instances, the private key allows you to establish a secure SSH connection to your instance.

Anyone who has access to your private key can connect to your instances, so it's important that you store your private key in a secure place.

Connecting to your VPS instances

You can connect to your Linux and Unix instances using a third-party SSH client.

When you use an SSH client, you must configure it to use the private key of the key pair.

How to find private keypair?

  • Login to PD Hosting Client Area.
  • Navigate to "Your Active Products/Services" and tap to your VPS package.
  • Tap the "Connection Details" from "Service Actions".
  • Depending on the configuration of the instance, the popup window will display the instance IP address, connection protocol, username, and private or associated public SSH key

How to connect your VPS instance?

To configure you need to copy the private key to the file including "-----BEGIN RSA PRIVATE KEY----- ... -----END RSA PRIVATE KEY-----" (e.g. id_rsa or myvps.pem)

Your key file must not be publicly viewable for SSH to work. Use this command if needed:

chmod 400 myvps.pem

Connect with SSH to perform administrative tasks on the server, such as installing software packages or configuring web applications.

To connect use, the following command: ssh username@ip -i id_rsa.

Third-party SSH and RDP clients

  • PuTTY: – Use PuTTY to connect to Linux or Unix instances using SSH.
  • Native SSH client in Terminal: Use the native SSH client in Terminal to connect to Linux and Unix instances.