ssh over php from w2k to linux hangs (linux to linux ok)

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


I am trying to make some bash-scripts, that are to be executed on
remote linux-boxes available to some Windows users over a php-interface.

To require no interaction from the part of the windows users, I installed
cygwin, generated rsa-keys and copied the public key on the server. I also
changed the user, running the apache service appropriately and I added
cygwin/bin to this users path. So, executing "ssh user@server something"
worked using the cygwin-bash or the windows CLI.

However, if I execute a php-script containing a "system" or
"proc_open" with this command, it never returns. The same php-script
*does* work on linux!

Any clues?


Site Timeline