Skip to main content
SSH keys provide a more secure way of logging into your virtual private server (VPS) without using passwords. This is an particularly useful when configuring cloud connectors like NameCheap on Cloudsania.

🎯 How To Create an SSH Key

1️⃣ Navigate to the SSH Keys Section

✅ Log in to Cloudsania. ✅ From the left sidebar, click on Settings. ✅ Select the SSH Keys tab to access the key management section.

2️⃣ Enter a unique ‘Key name’ for your SSH key

3️⃣ Choose an SSH Key Type

Cloudsania offers different SSH key types based on security and performance needs:

SSH-ED25519 (Recommended) 🟣

SSH-ECDSA 🟠

Faster than RSA, suitable for environments that require compliance with security standards.

SSH-RSA 🔵

An older but widely supported encryption method.
If you’re unsure, select SSH-ED25519 for optimal security.

4️⃣ Click the “Create SSH Key” button to generate the key.

Once created, the new key appears under ‘Active SSH Keys**’**. 📌 You can: Copy the key’s fingerprint for later use. Download the key to store it securely. Delete any unused or outdated keys if necessary.

5️⃣ Map the Public Key to Your Server

After creating your SSH key in Cloudsania, you need to add the public key to your server so it recognizes and allows access. Option 1 (Preferred – Manual method):
cat public-key-file-location | ssh username@host "cat >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys"
Option 2 (Automated – ssh-copy-id):
ssh-copy-id -i ~/.ssh/id_rsa.pub <username>@<server_ip_address>
✅ Once done, you can log in securely without using a password.

🎯 Using the SSH Key

Your newly created SSH key can now be used for setting up cloud connectors like ‘Namecheap**’**.