Connect with SSH
SSH gives you a command line on your hosting account. Use it for Git, WP-CLI, Composer, database dumps, and checking logs. Developers and confident site owners will find it useful. If you'd rather not set up SSH, the browser terminal in Developer gives you the same shell. See Use the browser terminal.
Turn it on
- Sign in at
https://barbrick.ca/account. - Open Account → Hosting → your site → Developer. SSH comes with Business and Pro. Essential doesn't include it, so upgrade if you need it. See Which plan is right for you?.
- Under SSH access, add your public key. See Create and add SSH keys.
The Connect with line under SSH access shows the exact command for your site. Click Copy to use it.
Connection settings
| Setting | Value |
|---|---|
| Host | Your site's own domain, such as example.ca |
| Port | 1988 |
| Username | Your hosting username, shown in Developer, such as yourusername |
| Authentication | SSH key |
Connect
macOS, Linux, and Windows 10 or later (PowerShell):
ssh [email protected] -p 1988
On the first connection, type yes to trust the server. After login you'll see a prompt like [yourusername@host ~]$.
Windows users can also use PuTTY: enter the host and port, point it at your private key, then Open.
What your account is
Your shell is a jailed shell (CloudLinux CageFS). You see your own files and the usual tools, but not other accounts or system folders. This is part of how we keep accounts separate.
Handy commands
pwd # where am I
ls -la ~/public_html # list site files, including hidden ones
cd ~/public_html # change folder
tail -f ~/logs/example.ca.error.log # watch errors live
php -v # PHP version in your shell
du -sh ~/public_html # size of a folder
du -sh ~ # total size of your account
CloudLinux limits apply
Commands count toward your CPU, memory, and process limits. A heavy command may be stopped. See Resource limits explained.
If something goes wrong
| Problem | Fix |
|---|---|
| Connection refused or timed out | Check you used port 1988. Some office networks block it, so try another network |
Permission denied (publickey) |
Wrong username, or the key isn't added. Check the key under SSH access in Developer. See Create and add SSH keys |
| Blocked after failed attempts | Our firewall. Contact support with your IP |
Host key verification failed |
Host key changed. Contact us before continuing |
| Command not found | Not available in the jailed shell. Ask support |
Still stuck? Ask us and we'll walk you through it.