cPanel

SSH and Git on hosting - safe deployment

SSH and Git make deployments predictable, but require permission control and rollback procedures.

When this matters

Common mistakes include putting a repository with secrets in public_html, wrong file permissions or no backup before deployment.

How to use SSH and Git on hosting: keys, permissions, public directory, rollback, composer/npm and access security.

Practical checklist

  • use SSH keys instead of passwords
  • do not expose .git in the webroot
  • make a backup before major deployment
  • test key pages and forms after deployment

How Hostilla.pl helps

Hostilla.pl can help choose a deployment path for PHP, WordPress, frameworks or static sites while preserving backups and security.

What to prepare before contacting support

If you need support, include the domain, account name, time of the problem, exact error message, recent changes and one example URL or mailbox. This lets support check DNS, SSL, mail logs, PHP, database, backups and application configuration faster.

Related Hostilla.pl topics

Next useful steps

This guide is part of a topical cluster. Use the links below to continue through related Hostilla.pl instructions.