Questions tagged [ssh]

Denotes questions related to use of Secure Shell (SSH) with Magento. SSH is a cryptographic network protocol for operating network services securely over an unsecured network.

Filter by
Sorted by
Tagged with
1 vote
1 answer
692 views

How to run reindex without SSH access?

I install Magento 2. All is good. When I arrive on the admin page, I have the reindex problem. I try to read many tutorial to correct this problem but, or I can't because I haven't SSH on my server, ...
user57741's user avatar
0 votes
2 answers
113 views

What am I doing wrong in applying patch?

When trying to apply a patch I am getting this error- ssh PATCH_SUPEE-9767_CE_1.9.3.2_v2-2017-07-11-11-06-06.sh ssh: Could not resolve hostname PATCH_SUPEE-9767_CE_1.9.3.2_v2-2017-07-11-11- 6-06.sh:...
tjjen's user avatar
  • 883
1 vote
2 answers
356 views

Run reindex via ssh - magento 2.1

I am trying to create button to run php ../bin/magento indexer:reindex bash script via admin panel. It is working on my localhost but when I pushed the script on server nothing happens. <?php if ($...
Milo's user avatar
  • 135
0 votes
2 answers
2k views

Magento 2 - None of transactional emails are sending

None of store's transactional emails are sending (order confirmation, newsletter signup confirmation, account password reset etc). All settings in backend of magento are good (like "Disable email ...
Dmitrii Kustov's user avatar
5 votes
1 answer
4k views

How can i run system->import/export->export by Command ssh

I get no valid data send error during product export via system->import/export->export. Actually this because of time out error. How can run this export by command ssh.
user avatar
0 votes
2 answers
1k views

Extract rar file with SSH using php

I need to extract rar file for my custom import extension. i have used shell_exec() and exec("unzip/path/images.rar", $result, $returnval); but not working. Any one knows how to extract rar file ...
Denish Vachhani's user avatar
1 vote
0 answers
47 views

PhpStorm debugging Magento 2 Devbox gives "Protocol mismatch" error

I was able to create the dev box and start the listener script successfully, but when I start a debugging session I receive this error on any page: SSH-2.0-OpenSSH_6.7p1 Debian-5+deb8u3 Protocol ...
Ryre's user avatar
  • 1,147
1 vote
2 answers
2k views

Magento 2.1.2 - PHP Parse Error in Bootstrap.php when trying to execute bin/magento commands

Can't seem to find a fix for this issue. I'm running Magento 2.1.2 with PHP 7.0.16, however there are different versions of PHP installed on different websites on the same VPS. When trying to execute ...
jayppick's user avatar
2 votes
2 answers
2k views

Save all products through php/shell script

I'm in the process of cleaning up my existing magento install by moving the DB and using a new install so I can do away with all the unnecessary extensions taking up space. Everything seems to have ...
user2240778's user avatar
24 votes
5 answers
62k views

How to flush Magento 1.9.x cache using SSH?

If for some reason I couldn't access my Cache Management page from my Magento Admin, how can I clear cache using SSH?
Waleed Asender's user avatar
0 votes
1 answer
741 views

Magento 2.1.3 unable to reindex using SSH

I tried the instructions under Magento 2 Reindexing - One or more indexers are invalid. Make sure your Magento cron job is running but am still unable to reindex. I ssh'd into my webserver and tried ...
Steve Bellinger's user avatar
0 votes
1 answer
560 views

./mage No such file or directory

I'm trying to upgrade Magento (from ver. 1.9.1.0) through the CLI using PuTTY. I'm following this guide: Magento isn't upgradable through Magento Connect Manager But it always give me same ...
Debbie's user avatar
  • 1
-1 votes
1 answer
66 views

Securing site only with FTP [duplicate]

I just want to understand something. Our developer, busy with cleaning up malware from our site, asked for SSH access in order to install latest security patches on our magento 1.9.2.4. The hosting ...
pedro estrada belli's user avatar
4 votes
2 answers
18k views

Getting "Command line user does not have read and write permissions on var/generation directory" when trying to access php bin/magento

Trying to get a basic grasp of ssh and cli on Magento 2.1 to "easily" install themes and extensions, but I'm dead in the water from the get go. I have a working version of 2.1 running on a VPS. Ran ...
NoviceClueless's user avatar
1 vote
1 answer
2k views

Composer detecting older version of PHP

I'm trying to install Magento 2 via composer and following this link for instructions. In step 2, composer install I get a php version error. Loading composer repositories with package information ...
Whip's user avatar
  • 125
0 votes
1 answer
2k views

Updating via SSH: Magento CE 2.1.2 to 2.1.3

I would like to update my Magento 2.1.2 version to the new Magento 2.1.3 via SSH. I have established a connection with my server, but am not sure how to continue. The internet provides me commands ...
LucSpan's user avatar
  • 143
3 votes
2 answers
2k views

Magento 1.9.2.4 patch SUPEE-8788 malformed patch at line 5790 [duplicate]

I want to apply the new SUPEE-8788 patch. But when bash the patch trough SSH, I get the following error: Checking if patch can be applied/reverted successfully... /bin/patch: **** malformed patch at ...
JGeer's user avatar
  • 1,418
3 votes
2 answers
2k views

Magento ver. 2.1.0 - Index Management without SSH/Shell Access?

Is it possible to do Index Management without SSH/Shell Access in Magento ver. 2.1.0 ?
mysticalghoul's user avatar
1 vote
0 answers
160 views

How to logout / close ssh connection after completing session [closed]

I don't have any experience of using ssh / commands, I'm using ssh just for reindexing Magento. When I finish reindexing then how can I log out? Which command can I use to log out?
Sandro's user avatar
  • 47
0 votes
3 answers
7k views

Execute magento commands in php shell without SSH

My webserver host does not provide access to SSH. I want to run commands like: php bin/magento setup:static-content:deploy I have tried to do this in the shell terminal using: - phpFileManager - ...
Jonas Jensen's user avatar
1 vote
1 answer
440 views

Magento 2 Patch MDVA-449 SSH Command

I have followed these instructions to apply the above patch - http://devdocs.magento.com/guides/v2.0/release-notes/tech_bull_207-upgrade.html and on the bottom it instructs to execute the command cp -...
bondimedical's user avatar
5 votes
4 answers
29k views

SSH "Could not open input file: bin/magento" Magento2

Yesterday I was working on my new Magento2 site and add new module after that I use SSH command and it was working perfectly but today morning I start working and start putty to run command but it's ...
Dhaval's user avatar
  • 1,685
0 votes
4 answers
10k views

SSH "Could not open input file: bin/magento"

I'm working through the Hello World tutorial and it's time for me to enter the "$ php bin/magento setup:upgrade" command for the reason mentioned in the tutorial but I get the error: "Could not open ...
mitchellsk's user avatar
8 votes
3 answers
38k views

Re-index magento via ssh / putty

I have logged into my Magento instllation via ssh/putty, I then ran cd public_html to get to my root folder and am then running the following commands: php indexer.php --reindex ...
sandro's user avatar
  • 81
0 votes
2 answers
2k views

Deploy Production mode via SSH gets stuck at 'Static content deployment'

So, I guess this is kinda vague and hard to explain, so I'll try to give some detail to help contextualise the problem. I have a Magento 2.0.0 install, that I installed via cPanel's Installatron. ...
KillahB's user avatar
  • 145
2 votes
1 answer
2k views

Invalid credentials for 'https://repo.magento.com/packages.json', aborting

I am having real trouble getting past this stage. I have looked at posts on this topic from different websites and none of the solutions work. I have created secret keys via magentocommerce website ...
Hemal Parekh's user avatar
2 votes
6 answers
5k views

Magento 2 without SSH

Is there is any way to use Magento 2 without SSH? I have a server which doesn't have any SSH access.
Asish Hira's user avatar
  • 1,981
0 votes
1 answer
410 views

Cron jobs not being called, getting email notification errors

I've been having a hard time getting my cronjobs working for my new magento 1.9.2.3 install. I added a mailto along with my cron call in crontab and i've been getting back error messages like this: ...
The_Dsigner's user avatar
0 votes
1 answer
2k views

Catalog URL Rewrites stuck in processing

SO last night I had to delete alot of products to start over and now Catalog URL Rewrites Index is stuck in processing. With some research I saw that this might be able to be handled via SSH but I do ...
Tommy's user avatar
  • 155
0 votes
1 answer
72 views

Composer issues while upgrading Magento 2.0rc to 2.0

I have installed Magento 2.0 rc in AWS and tried to update my composer.json to update it to Magento 2.0. Ran the command sudo composer config composer.json but received an red box with the error ...
George Ng's user avatar
  • 101
0 votes
2 answers
409 views

Reindex data stuck on Processing

I reindexed all data successfully with SSH php -f indexer.php reindexall: Product Attributes index was rebuilt successfully Product Prices index was rebuilt successfully Catalog URL Rewrites index ...
meez's user avatar
  • 417
1 vote
1 answer
320 views

Converting Magento .sh patch file to a list of patched files

What's the easiest way to convert .sh file that lists Magento patch changes to a list of modified files, that can be uploaded via FTP? I tried to use SSH to apply a patch but for some reason not all ...
Alan's user avatar
  • 927
1 vote
1 answer
4k views

What is the direct URL for Magento 1.9.2.2

Trying to retrieve CE 1.9.2.2 directly via ssh however wget http://www.magentocommerce.com/downloads/assets/1.9.2.2/magento-1.9.2.2.tar.gz is returning a not found
Eirik's user avatar
  • 2,072
50 votes
6 answers
31k views

Critical Reminder: Download and install Magento security patches. (FTP with no SSH access)

The Magento security patches look like they are .sh files, how would someone apply these patches without SSH access to their Magento installations? Also, are these patches cumulative? IE: Will they ...
SR_Magento's user avatar
  • 5,209

1
2