I am interested in having someone or as many technicians as possible to assist me,
or provide me with an understanding of how PHP processes an SSH command
ssh username@hostname "ssh-script"
,
for remote access, embedded in a Bash Shell Script.
Initially I made many attempts to use PHP's ssh2_command()
function to no avail due mostly to the function not being recognized by the PHP interpreter.
My thinking is that perhaps SSH2 is not configured properly on my MAC OS X server.
I based my configuration on what I researched via the internet
which appeared to install properly. Unfortunately, even with the good instruction, SSH2 does not work for me.
Any assistance will be appreciated.