I am experiencing a brain fart and all I can see is no longer making sense to me. I would like to ask for some of your expertise and help me clear the fog off my eyes.
I need to log into a remote server, which I am able to do by using the following code:
$connect = ssh2_connect(‘ipaddress’, 22);
$auth = ssh2_auth_password($connect, ‘username’, ‘password’);
But how can I make the server run a shellscript that is hosted in the php server?
I will really appreciate some guidance in this matter