SSH

How do I connect via SSH on an Apple Mac?

To connect via SSH on a Mac you can follow the instructions below: Log in to stackcp.com. Head to Manage Hosting and select Manage on the hosting package you want to connect to. Select the SSH Access icon. You’ll now need to generate a public key, on a Mac this is done via the Terminal utility. Open Terminal on the Mac. Enter the following command into…

How do I connect via SSH using 2FA?

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…

How do I connect via SSH?

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 Once you have downloaded PuTTY,…

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

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 <…

How do I run Composer via SSH?

At BelieveHost – Cloud 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 BelieveHost – Cloud. This is a thin version of PHP without all the modules you may be used-to on…