Netsons Setup
SSH Access
1. Generate an SSH Key Pair
ssh-keygen -t ed25519 -C "deploy@your-domain.com"This creates:
~/.ssh/id_ed25519— private key (keep secret)~/.ssh/id_ed25519.pub— public key (upload to server)
2. Upload to Netsons cPanel
- Log in to your Netsons cPanel
- Go to Security > SSH Access
- Click Manage SSH Keys > Import Key
- Paste the contents of your public key
- Click Import
- Go back and click Manage next to the key
- Click Authorize
3. Test the connection
ssh -p 65100 your-user@your-server.netsons.com4. Get the Known Hosts entry
ssh-keyscan -p 65100 your-server.netsons.comSave the output — you’ll need it for the SSH_KNOWN_HOSTS GitHub secret.
FTP Access
FTP credentials are typically the same as your cPanel login:
| Setting | Value |
|---|---|
| Host | your-server.netsons.com |
| Port | 21 |
| Username | Your cPanel username |
| Password | Your cPanel password |
You can also create a dedicated FTP account in cPanel > Files > FTP Accounts.
PHP Version
Check available versions
ssh -p 65100 user@server "ls /usr/local/bin/ea-php*"Common paths:
/usr/local/bin/ea-php82/usr/local/bin/ea-php83/usr/local/bin/ea-php84
Set PHP version in cPanel
- Go to Software > MultiPHP Manager
- Select your domain
- Choose the desired PHP version
- Click Apply
Composer
Composer is typically at /opt/cpanel/composer/bin/composer. Always invoke it with the correct PHP binary:
/usr/local/bin/ea-php84 /opt/cpanel/composer/bin/composer --versionGit (SSD 30+ Plans)
Check if git is available:
ssh -p 65100 user@server "git --version"Git is available on SSD 30+ plans. Lower plans must use the FTP strategy.