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:
- If a key exists, you'll be warned and must confirm to overwrite
- Enter your email address
- The key is generated and the public part is displayed
Adding the Key to GitHub
- Copy the displayed public key (starts with
ssh-ed25519) - In your GitHub repository, go to Settings → Deploy keys
- Click Add deploy key
- Paste the key and give it a name (e.g., "CloudWeb Hosting")
- 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 pushfrom 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