Connect to a server from a webserver with SSH and run shell script
$10-30 USD
Terminado
Publicado hace alrededor de 9 años
$10-30 USD
Pagado a la entrega
Lets say:
You have [login to view URL] file and this ppk has Passpharase.
You will develop a single php page.
It will have only one button called "Run".
When user hits "Run" button, php will connect to [login to view URL] (IP adress), port:2202
using [login to view URL] file via SSH (Remember .ppk has passpharase) and execute a shell script which is already in the server. Shell Script location and name can be hard coded in the php.
After the execution, it will display the result of shell script under the "Run" button.
Webserver is able to exec, shell_exec.
That's all.
I would like to work on the file, will create a file to connect to the remote server with the key file provided and get the result from the shell script on the remote server and display it
Thanks
Shekhar
$20 USD en 3 días
4,9 (55 comentarios)
5,4
5,4
1 freelancer está ofertando un promedio de $25 USD por este trabajo
I have experience with Linux, PHP and with systems management remotely using SSH.
Can I create a shell file to connect and run the script of the other computer? In this case, PHP just need to call this file and get the output to then show it under the "Run" button.
I hope that I can show my job with this project. Thanks.
Best Regards.