Anyone using Single web hosting plan by Hostinger?
If yes then how you’re running commands because surprisingly they don’t offer SSH in this plan.
I’m trying to run a laravel website there and without a command prompt I can’t run commands like php artisan key:generate
or composer install
.
You might think of running commands using Artisan but I can’t do that either because I can’t even access the website without generating a key.
2
Answers
Open SSH from the browser
Step 1: Install OpenSSH. Make sure you have OpenSSH installed on Windows 10. …
Step 2: Download the wrapper script. An ssh link follows this syntax, ssh://@: but open ssh expects a different format. …
Step 3: Register the script as URL handler. …
Step4: Activate the new handler.
I understand that with your plan you only need to use
ftp
or do an upgrade. They have a very strange policy, they give access to git but without ssh )) At the moment I see that the price for Premium is the same as for Single, we can think about it.If you decide to upgrade:
Upgrade Version
Log in to
hpanel
, in the sidebar selectAdvanced -> SSH Access
. On this page you should see the ssh login details. (host, port, user). You can log in with public ssh, either by preloading it or by password.But installing laravel on hosting has its own subtleties, you may find this article useful https://support.hostinger.com/en/articles/6152127-how-to-deploy-laravel-8-at-hostinger.
Then install the composer2 in your home directory
cd ~