SSHing from PHP code
Posted: Sun May 04, 2008 7:03 pm
please help me,
i have a php script that invokes a bash script on a remote machine via ssh. both the machines have ssh access. when i invoke the php script from the browser it doesnt get executed but when i invoke that script from command line through php interpreter it works. i dont understand why it isnt working. please help
thax
i have a php script that invokes a bash script on a remote machine via ssh. both the machines have ssh access. when i invoke the php script from the browser it doesnt get executed but when i invoke that script from command line through php interpreter it works. i dont understand why it isnt working. please help
thax