SSH stands for Secure Shell. It is an encrypted way to connect to your hosting account from a command-line program on your computer, such as PuTTY on Windows or the Terminal app on a Mac. Developers use SSH to run commands, move files, and manage projects more quickly than through the browser.
Unlike the browser Terminal covered on Day 12, an SSH connection uses keys that you create and manage yourself.
Check That SSH Is Available
SSH access is not included on every plan. If you do not see the SSH Access tool on your home screen, contact HoganHost support to ask whether it can be enabled for your account.
Open SSH Access
- Log in to cPanel.
- On the Tools page, in the Security group, click SSH Access.

Generate a Key Pair
A key pair is two linked files. The public key sits on the server, and the private key stays on your computer.
- Click Manage SSH Keys.
- Click Generate a New Key.
- Enter a name for the key.
- Enter a strong passphrase. This is a password that protects the private key on your computer.
- Click Generate Key.

Copy the passphrase somewhere safe, since it cannot be recovered.
Authorize the Key
A new key does nothing until you authorize it. Find the key under Public Keys, click Manage, then click Authorize. Only authorized keys can log in.

Download the Private Key Carefully
Download the private key from the Private Keys section and store it on your computer. Never send it in an email or post it in a chat. Anyone with that file and its passphrase can access your account.
Connect
Open your SSH program, point it to your server name and your cPanel username, and select the private key file. Enter the passphrase when asked. The exact steps depend on the program you use.
Remove Keys You No Longer Use
Delete keys for computers you no longer use. Deleted keys cannot be recovered, so make sure no one still needs them. Keeping a short list of active keys makes it easier to spot one you do not recognize.
Need a server built for command-line work? Compare HoganHost’s VPS hosting options for projects that need more control.



