Magento2 SSH Error – Could Not Open Input File: bin/magento

magento2ssh

I'm trying to reindexing my Magento 2
I have done these steps in putty

enter image description here

can anyone tell me what did I do wrong?
I'm new in using SSH that's why

thank you so much.

Best Answer

You need to write:

cd public_html/magedemo instead of cd /public_html/magedemo

You will then be in the root directory of your installation and bin/magento commands will hopefully work.

Related Topic