• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

bash

  1. K

    Instruction [Fail2ban] Bash script to group multiple banned IP into subnets

    Whenever you end-up with a large number of banned IP's in fail2ban you might want to know if there are multiple IP's banned from the same subnet. This scripts groups all banned IP's into /24 subnets. By default the script returns all subnets with 10 or more IP's banned by fail2ban. You can...
  2. A

    Resolved Unable to reinstall modsecurity after upgrade from Onyx to Obsidian

    In the process of upgrading to Obsidian, I had this conflict ; Exception: Failed to solve dependencies: plesk-modsecurity-configurator conflicts with mod_security-2.9.2-centos7.19091318.x86_64 I did remove mod_security thinking I would reinstall it after upgrade. Maybe I should have used the...
  3. O

    Question Why is .bashrc inside chroot not working?

    Hi, our customer has a chrooted SSH access to his website. He wants to use his own .bashrc file but it is not working. I tried already to make a .profile file but also not working. Is that even possible or is that for chrooted SSH access disabled?
  4. P

    Resolved Domain status disabled/suspended unclear

    Hi, I want to use CLI/bash to be able to enable, disable or suspend a domain. I am also trying to write a bash script that shows all enabled/disabled/suspended domains. There seems to be a problem with the domain status though, or maybe I am doing something wrong? I use "sudo plesk bin site...
  5. Talistech

    Question Missing /bin/bash (chrooted)

    Hey guys, I have Plesk installed on 2 different vps', one of them has the option to go through chrooted shell, the other one has not. How can I install it or make it visible? Already did the "/update_chroot.sh --install" script, still not visible. Any idea? The chroot folder already exists...
  6. itoop

    Resolved php-version 7.2

    Hallo, I use plesk version 17.8.11. I configured php-version 7.2.4, but a php -i in the bash shows version 7.0.28: $ php -i phpinfo() PHP Version => 7.0.28-0ubuntu0.16.04.1 A software, which needs at least php version 7.1 shows with composer in the bash, that I'm using version 7.0.28, too...
  7. I

    Question cron will not run working Bash script

    I have a small bash script that uses curl to post the Plesk Apache logs to a logging service and then moves the files to an 'uploaded' directory (so as to not reload them on a second run). The scripts works fine from an ssh CLI, but fails under cron and so I'm clearly missing a permission for...
  8. Daniel Hendricks

    Question Allow Git command line access under chrooted bash?

    I'd like to allow some users git command-line use from a chrooted bash session so that they can link to and manage their Plesk git repo (or remote to any repo, if desired). I have to questions: How do I do this (correctly)? I saw this article re: adding SSH, and I assume that I would do...
  9. Matthew Bourgeois

    Question Loading Configuration Via Bash

    Is there a way to load server configuration from a bash file? Meaning loading all server, as well as plugin and extension settings. My end goal is to automate server deployment with as little interaction as possible.
  10. A

    Issue /bin/bash(chrooted) SSH suddenly denied for all domains

    Previously all our web customers were setup to access their SFTP using the shell /bin/bash(chrooted). As of 2-17-17 it was working for everyone. The following Monday 2-20-17 it was not. This issue is affecting ALL domains that used /bin/bash(chrooted) as the shell. When trying to connect via my...
Back
Top