Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hey Guys,
Can anyone shed some light on why Digital Oceans VPS servers don’t like finishing running ssh exec commands run from php?
It works fine on hosts other than digital ocean, also using centos 7. and I can get putty to run the commands, but not if I connect through a php function. I have been using phpseclib.
I have had to split my php functions up into little bits and run them one at a time. Some of them don’t ever finish. like when I try to install sentora. It seems random how far it gets into the installation.
The Code works fine:
$ssh = new Net_SSH2("$domain");
if (!$ssh->login($username, $password)) {
exit('Login Failed');
}
echo $ssh->exec("wget http://sentora.org/install");
echo $ssh->exec("chmod +x install");
echo $ssh->exec("./install -t Europe/Germany -d host.$domain -i $ip");
adf990733ce34c20a86418222e2dda
rajud yadav
50ff4e4b3c6c4999a12403b1ecda95
Erina Jones
05c643336f3a4578a0b414e11ed8fc
378226414b344d3d9ef057316f83e8
792d8c6065294b4da466a26b2a99e4
KFSys
fe9c7f1f3d29491e8c9905409bd159
LittleSeaGreenMorel
504ba8e5f370441283486b46f86d4e
Wilson Karl