This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| First, check to see if you can find out why you can't connect. This command will tell you everything that SSH is trying to do and trying to check when accessing your Linode: | |
| $ ssh -vvv account@your-ip | |
| Then, you can try logging into your Linode with the following SSH command: | |
| $ ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no account@your-ip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FOR SINGLE IP: | |
| firewall-cmd --permanent --zone=drop --add-rich-rule="rule family='ipv4' source address='xxx.xxx.xxx.xxx' reject" | |
| firewall-cmd --reload | |
| FOR RANGE AND BULK: | |
| SETUP: | |
| The Firewalld way: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Interactive switching mode | |
| --------------------------- | |
| sudo update-alternatives --config php | |
| Manual Switching | |
| ----------------= | |
| sudo a2dismod php5 | |
| sudo a2enmod php7.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| prestashop-lib — © 2015 Chloé Tigre Rouge <chloe@tigres-rouges.net> | |
| This is licensed under the same terms as Prestashop. | |
| PrestaShop library to create products, categories and all sorts of things | |
| programmatically by passing arrays around | |
| It needs a bootstrapped PrestaShop framework (you can get one by defining | |
| _PS_ROOT_DIR_ and by a | |
| require_once(_PS_ROOT_DIR_.'config/config.inc.php'); |