SSH (Secure Shell) is the server’s command line. If you’re comfortable in the terminal, it’s the fastest way to manage files, databases, git repos, and run composer, npm, artisan.
\n
When you’d want SSH
\n
- Deploying Laravel, Node.js, Python apps
- Working with git (clone, pull, push)
- Running composer install, npm install
- Bulk ops: renaming files, searching, replacing
- Importing large DB dumps (via mysql, not phpMyAdmin)
\n
Enabling SSH at Navju Cloud
\n
- Log into cPanel
- Open Security → SSH Access
- Click Manage SSH Keys → Generate a New Key
- Enter a name and key password
- After generation click Manage Authorization → Authorize
- Download the private key with View / Download Key
\n
Connecting from your computer
\n
Linux/macOS:
\n
ssh -i ~/.ssh/cpanel_key -p 22 your_login@yourdomain.tj
\n
Windows: PuTTY or Windows Terminal with built-in OpenSSH.
\n
Things to know
\n
- Standard commands:
ls,cd,cp,mv,rm,nano,vim - PHP CLI:
php -v,composer install - Database:
mysql -u user -p dbname - Don’t try to become root — shared hosting has no root (correctly — for isolation)
