Most shared hosting customers in Nepal never open a terminal — and then spend an hour doing in the file manager what one command finishes in seconds. SSH (Secure Shell) gives you command-line access to your hosting account, and nearly every quality cPanel host in Nepal now offers it, WebsNP included.

What SSH Actually Lets You Do

  • Move fast: unzip a 500 MB backup in seconds instead of a timing-out browser upload
  • Run real tools: Composer, WP-CLI, artisan, npm, pip — directly on the server
  • Debug properly: tail error logs live while reproducing an issue
  • Manage databases: import and export large MySQL dumps that phpMyAdmin cannot handle
  • Deploy with Git: pull code instead of dragging files

Enabling SSH on cPanel Hosting

  1. Check your plan — quality hosts include SSH on shared plans from around NPR 1,000 per month; some enable it on request via a support ticket.
  2. In cPanel, open SSH Access to confirm it is on, and note the port — many Nepali hosts use a non-standard port instead of 22.
  3. Connect from macOS or Linux with the ssh command in a terminal, or from Windows with Windows Terminal or PuTTY.

Use Keys, Not Passwords

SSH keys are both safer and more convenient than passwords:

  1. Generate a key pair on your computer with ssh-keygen (choose ed25519).
  2. Import or paste the public key in cPanel under SSH Access, then authorize it.
  3. Log in without typing a password — and disable password login if your host allows it.

Never share your private key, and protect it with a passphrase; the public key is the only part that goes on servers.

A Practical First Session

Connect with ssh username@yourdomain.com -p 2222 (swap in your host's actual port), confirm you land in your home directory with pwd, and run ls -la public_html to see your site's files exactly as the file manager shows them, just faster to navigate. From there, a genuinely useful first command for anyone new to the terminal is du -sh */ | sort -rh | head inside public_html, which lists your largest folders sorted biggest-first — often the fastest way to spot what is actually eating your disk quota, something the file manager makes tedious to check folder by folder.

Ten-Second Wins to Try First

  • Archive a site before changes: one tar command replaces a coffee-length download
  • Search all files for a hacked-code marker with grep
  • Watch traffic hit your site by tailing the access log
  • Fix permissions across thousands of files with a single find command

Common SSH Errors and Fixes

  • "Connection refused": almost always the wrong port — confirm it in cPanel's SSH Access panel rather than assuming 22.
  • "Permission denied (publickey)": the public key was not authorized correctly in cPanel, or your local ssh client is not offering the matching private key — check with ssh -v for verbose connection output.
  • "Too many authentication failures": your client is trying several keys before the right one; specify it explicitly with -i ~/.ssh/your_key.

Safety Rules on Shared Hosting

  • You are in a jailed shell — you can only touch your own account, which protects everyone
  • Long-running processes may be killed by resource limits; use cron for scheduled work
  • Test destructive commands with a dry run; rm has no recycle bin

Frequently Asked Questions

Is SSH safe to use on a shared server?

Yes — sessions are encrypted end to end, and jailed shells isolate accounts from each other. It is safer than FTP, which sends passwords unencrypted.

Do I need Linux knowledge first?

A dozen commands cover 90% of daily use. Learn cd, ls, cp, mv, tar, grep and tail, and you are productive immediately.

Can I use SSH from my phone?

Yes — terminal apps exist for both Android and iOS that support key-based SSH login, useful for quick checks like tailing a log when away from a computer, though serious work is still easier on a full keyboard.

Will using SSH void any part of my hosting support agreement?

No — SSH is a standard, supported feature on any quality shared plan. What is not supported is a provider fixing damage caused by commands you ran yourself; back up before experimenting.

Want hosting with real SSH access included? See our shared Linux hosting and all hosting plans, or ask us to enable SSH on your account today.