View Categories

SSH

8 Docs

Can I use sudo on shared hosting?

Last Updated: May 5, 2026

Sudo is a Linux command that allows a user to run commands as a ‘super user’, root.  The use of the sudo command is not permitted on our shared hosting platform, and its use will result in an SSH access violation and your SSH access being suspended. This is noted in the welcome message when connecting to the shared...

What is the PHP memory_limit?

Last Updated: May 5, 2026

The PHP memory_limit is the maximum amount of server memory that each PHP script can use.  The official PHP documentation explains this in greater detail.  “This sets the maximum amount of memory in bytes that a script is allowed to allocate. This helps prevent poorly written scripts from eating up all available memory on a server.”   PHP...

How do I connect via SSH using 2FA?

Last Updated: May 5, 2026

It’s only recommended that you connect to your package via SSH if you’re familiar with the command-line interface. Here is how to connect using two-factor authentication (2FA). Windows If you’re using Windows you will want to download an SSH client to access SSH. You can download PuTTy from the following page: https://www.putty.org/ ⦁    You will want to...

How do I connect via SSH?

Last Updated: May 5, 2026

It’s only recommended that you connect to your package via SSH if you’re familiar with the command line interface.  Windows If you’re using Windows, you’ll need to download an SSH Client to access SSH. This guide uses PuTTY which is a free SSH client and can be downloaded here: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

How do I import a .sql file via the command-line?

Last Updated: May 5, 2026

If you’ve set up SSH access for a package then you can run the following command-line instructions to import a MySQL database: mysql -h hostname -u username -p username < databasefile.sql The above command connects to your database with the -h (hostname) -u (username) -p (database name in this case) then the unzipped file < databasefile.sql You will...

How do I connect via SSH on an Apple Mac?

Last Updated: May 5, 2026

To connect via SSH on a Mac you can follow the instructions below: ssh-keygen /Users/user/.ssh/id_rsa.pub. cat /Users/user/.ssh/id_rsa.pub. ssh domain.com@ssh.stackcp.com You should have successfully connected via SSH from your Mac to your hosting package at WebHostsOnline Web-Solutions.

How do I connect via SSH on an Apple Mac?

Last Updated: May 5, 2026

To connect via SSH on a Mac you can follow the instructions below: ssh-keygen /Users/user/.ssh/id_rsa.pub. cat /Users/user/.ssh/id_rsa.pub. ssh domain.com@ssh.stackcp.com You should have successfully connected via SSH from your Mac to your hosting package at WebHostsOnline Web-Solutions.

How do I run Composer via SSH?

Last Updated: May 5, 2026

At WebHostsOnline Web-Solutions we run multiple different versions of PHP. On our SSH servers, the execution of commands like “composer” will run with our default, system-level PHP that is also used for internal tools at WebHostsOnline Web-Solutions. This is a thin version of PHP without all the modules you may be used-to on your website....