Completed

Google CS/Ubuntu Linux server running PLESK - SSH2 issue, PHP7.1/7.2/7.3

Hi

I have an application running on an old v-server. I'd like to switch the application to Google Cloud Services (GCS).

I use a SSH2 function to access external sFTP/FTP folders to transfer files, called via PHP. The process works fine on the old server, but I'm encountering an issue on the new GCS server.

I currently have a web application running on an VServer hosted

OS : Ubuntu 14.04.5 LTS

PLESK : 14.04.5 LTS

PHP : 5.5.9 by OS vendor, run PHP as FPM served by Apache

PHPINFO : [login to view URL]

I'm looking to move the application to a vServer running within Google Cloud Services.

OS : Ubuntu 18.04.3 LTS

PLESK : 18.0.20

PHP : 7.3.11 run PHP as FPM application served by Apache*

PHPINFO : [login to view URL]

*I've have assigned the above PHP version to the domain

SSH2 appears to be installed and up to date on the new server.

SSH2 is selected within the PLESK interface

The majority of the applications functions work.

However, we have a process where we send and receive flat files via FTP & sFTP and utilises the SSH2 function.

I’ve deployed a test file with the following

“if (!function_exists("ssh2_connect"))

die('Function ssh2_connect not found, you cannot use ssh2 here');”

The reads false and kills the process.

SSH2 isn’t working for PHP7.1, 7.2 or 7.3

If I change the PHP version for the domain ([login to view URL]) to :

'7.0.33 by OS Vendor, run PHP as FPM application served by Apache'

and run [login to view URL]

I appears that SSH2 is now loaded.

However, when I run a test file I see the following error message

Test file address : [login to view URL]

(works without errors on the old vServer - please see [login to view URL])

I disabled the Firewall, but the problem remained.

Here is the sample code which is producing the 503 error:

<?php

$connection = ssh2_connect('[login to view URL]', 22);

ssh2_auth_password($connection, 'username', 'password');

$sftp = ssh2_sftp($connection);

$stream = fopen('[login to view URL]://' . intval($sftp) . '/path/to/file', 'r');

?>

The configured file for the above can be found at [login to view URL]

I'm looking for someone to resolve the SSH2 issue on the new Google Cloud Server so that I can transfer files via sFTP.

Please note that the is running with with PLESK.

Happy bidding

Skills: Linux, Ubuntu, Apache, PHP, System Admin

See more: linux server plesk spam security, ubuntu linux postfix mail server configuration, configure ubuntu linux vpn server, steps repair plesk linux server, linux server running aspx, configuring mail server ubuntu linux, ubuntu linux setup vpn server, running aspx pages linux server, pdf server running linux, linux server plesk install, ensim plesk migration linux server, repair plesk linux server, linux server vpn firewall ubuntu, install ioncube plesk linux server, migrate websites linux server linux server plesk, ubuntu linux server configuration, ubuntu linux server server, ubuntu linux server

About the Employer:
( 27 reviews ) Birmingham, United Kingdom

Project ID: #22230326

Awarded to:

Ekushey

I understand the problem and will probably be able to help, can you please send me a message so that I can get more information from you? Thanks!

$75 USD in 1 day
(472 Reviews)
7.1

9 freelancers are bidding on average $210 for this job

tlchung

I can fix the ssh2 issue for you. I am a skilled server admin with over 10 years experience. let discuss more via private message.

$40 USD in 2 days
(491 Reviews)
7.4
pdq

Hello, i'm a senior linux administrator in a hosting company. ssh2 extension is available for php 7.x so it's easy to solve your issue. cheers :)

$40 USD in 1 day
(163 Reviews)
6.2
infihost

Hi, I will audit complete configuration of the server and will fix SSH 2 issue and 503 error on the server. I do have more than 10 years of expertise in web hosting, server setup, server configuration, server optimisa More

$45 USD in 1 day
(169 Reviews)
6.0
nickdevops

Hello my name is Nikos and Im working on the Linux server administration field for the past 6 years. Over these years I worked for two web hosting companies as a Senior Administrator managing their servers & providing More

$127 USD in 1 day
(15 Reviews)
4.4
khoadeveloper

Hi Dear client. I have extensive experience in DevOps and I am sure that I can satisfy you with my skill and experience. If we run an interview via freelancer messenger board, you will be started working immediately More

$200 USD in 1 day
(3 Reviews)
4.1
android2014213

I can help you out in your issue. Dear Hiring Manager, I am Redhat Certified Engineer. I have 8 years of experience as a Linux System Administrator. I posses good knowledge of mail server like zimbra, sendmail, web s More

$222 USD in 5 days
(15 Reviews)
4.1
Honestypays1216

Hello. I will help you to complete this project. You can check my profile and notice that I am skillful enough for this project. Wish further discussion via chat. Thanks.

$1000 USD in 3 days
(0 Reviews)
0.0
lucaven

Dear Respected Client, We are a team of 10+ members in PHP, CodeIgniter, WordPress, Magento, Big commerce, Interspire, Shopify, Node Js, AngularJs, and Mobile Apps having experience over 10+ years combined and have de More

$140 USD in 2 days
(0 Reviews)
0.0