-1

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.

ajreal
  • 46,720
  • 11
  • 89
  • 119
Joe'l
  • 1

1 Answers1

1

You could try phpseclib, a pure PHP SSH implementation