Magento 2 – Could Not Open File bin/magento in SSH

extensionsmagento2marketplacesshupload

after uploading my marketplace-module in

app/code

i've run the command as

php bin/magento module:status

but it gave me the following error as shown in image :
enter image description here

i checked the file permission of magento in

bin/magento
it is set to 0755
after that i tried to change the permission to 0777
but no chnage im still getting this error

could not open the file bin/magento 

can anoyone tell me what is going wrong from my side?
thanks in advance.

Best Answer

To navigate in putty try to use Midnight Commander.

  1. install package sudo apt install mc
  2. type mc
  3. navigate to magento root directory (basically is /var/www/...)

or use WinSCP

Related Topic