SSH Access & GitHub Deploy Keys

January 09, 2026 50 views

SSH Access

SSH (Secure Shell) allows secure command-line access to your hosting. You can run commands, manage files, and deploy applications.

Connecting via SSH

Find your login credentials in the user panel under your hosting's SSH tab.

ssh [email protected] -p PORT

The SSH port is shown in the panel - each hosting has a unique assigned port.

Generating a GitHub Deploy Key

To deploy code from a GitHub repository, you need an SSH key. In the SSH terminal, run:

github_key

This command guides you through key generation:

  1. If a key exists, you'll be warned and must confirm to overwrite
  2. Enter your email address
  3. The key is generated and the public part is displayed

Adding the Key to GitHub

  1. Copy the displayed public key (starts with ssh-ed25519)
  2. In your GitHub repository, go to SettingsDeploy keys
  3. Click Add deploy key
  4. Paste the key and give it a name (e.g., "CloudWeb Hosting")
  5. Allow write access: Check only if you need to push (not required for most deployments)

When to enable write access?

  • Without write access (read-only) - For standard deployment using git pull. Recommended for most cases.
  • With write access - If you need to git push from the hosting (e.g., for automated commits).

Cloning the Repository

After adding the key, you can clone the repository:

cd /var/www/html
git clone [email protected]:your-account/your-repo.git .

Updating Code

cd /var/www/html
git pull origin main

Was this article helpful?

Your feedback helps us improve our documentation

Still need help?

If this article didn't answer your question, our support team is here to help.

Contact Support