• Resolved arash0031

    (@arash0031)


    Hi, ssh is correctly installed on my ubuntu 18.04. I can connect through ssh terminal, sftp filezilla … But through this plugin i get he error:
    Failed to connect to SSH2 Server xxx.xxx.xxx.xxx:2222
    If SELinux is installed check to make sure that httpd_can_network_connect is set to 1
    I checked for SELinux and it seems its not active on ubuntu as standard. The only file regarding SELinux i could find was /etc/selinux/semanage.conf and i have added to this file httpd_can_network_connect=1 but after saving the file the plugin still does not work.
    Any suggestion?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter arash0031

    (@arash0031)

    Problem solved by running these commands:
    sudo apt-get install php7.2-cli -y
    sudo apt-get install libssh2-1 php-ssh2 -y

    Hello,

    I am using AWS EC2 WordPress from a Bitnami stack and having issues updating my plugins and themes via managewp.com, but can update within the website WP Dashboard. Managewp support gave me a link to www.remarpro.com basically telling me to add ssh credentials to my wp-config-php file, but I feel and read it doesn’t work so well. Plus it is a chore for me to add FTP_PUBKEY and FTP_PRIKEY, and I read some negative things about it on forums.

    I have updated my PHP as noted above but still errors out. See the message below.
    Any help or direction would be appreciated.
    Thanks in advance,
    Bryant

    Instagram Feed (1.10 -> 1.10.1):

    Failed, please add FTP details

    Yoast SEO (8.2 -> 8.2.1):

    Failed, please add FTP details

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not working on Ubuntu 18.04’ is closed to new replies.