I am using Porto theme in localhost. I am using following commands to run Enable Theme for Currently Active store.

 php bin/magento setup:upgrade
 php bin/magento setup:static-content:deploy

Now, we are going to live the website by using GoDaddy hosting.

enter image description here

In localhost, I am using the composer.

I have connected Putty with my IP successfully.

But, It is asking for Passphrase for key.

enter image description here

  • 6
    I'm voting to close this question as off-topic because , This related connect SSH not related to magento – Murtuza Zabuawala Jun 25 '18 at 8:10

Do following steps:

  1. Open your putty then enter your website's IP address only.
  2. Don't import any keys of SSH then click on Open.
  3. Enter your Cpanel's username.
  4. After insert your password.
  5. Add your Path like public_html/.

Then run the following commands to upgrade.

php bin/magento setup:upgrade
php bin/magento cache:flush
php bin/magento cache:clean
php bin/magento setup:static-content:deploy

Connect Your server via ssh

in linux you can connect via terminal using this command ssh username@Ip(or domain)

or if you are using windows you can connect via putty.

after connecting via ssh go to your magento root directory via cd yourMagentoPath

and fire those command

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
  • @nukalasatish put your username of ssh and then it ask for password – Murtuza Zabuawala Jun 25 '18 at 6:16
  • ok it means Cpanel username and password right – nukala satish Jun 25 '18 at 6:18
  • @nukalasatish tryit otherwise contact your server support for ssh username and password – Murtuza Zabuawala Jun 25 '18 at 6:20
  • I connected my site via Putty, How to go to my directory here? – nukala satish Jun 25 '18 at 6:57
  • @nukalasatish go to your root directory via cd command – Murtuza Zabuawala Jun 25 '18 at 7:12

You need the SSH access from server.

If you are using Shared server, then you have asked to Go-daddy that they are providing SSH access.

I think SSH access is not provided in shared server. So, Ask your vendor for SSH access.

Not the answer you're looking for? Browse other questions tagged or ask your own question.