Hello,
I've beat on this for a while now, and I'm not seeming to get
anywhere. Any ideas would be appreciated.
I'm attempting to execute some things on remote servers using ssh, using
a strictly limited account created for this express purpose. I set up
passwordless key authentication from t
There is no output to stderr or stdout from the script being executed.
All I care about are the side-effects of running this remote program. If
something fails, a numeric error-code will be returned.
I have tried this using: system(), shell_exec() - same as backtick
operator, and popen(). I ha
I actually do care about the return code from the program, as well as
knowing that the program executed and completed successfully, so
background execution is not a valid option.
I tried using system("ssh [EMAIL PROTECTED] mycommand > /dev/null 2>&1") and got
the same results.
You are correct
Richard,
I'm really not sure what you're asking here. I've created a limited
access user account on a remote host so that I can kick off some things
on the remote host by hitting a web page. Access to the web page is
protected via SSL and user authentication. The things which are
executed
Incorrect.
Setup now:
Server A: Authenticates User SSL -> runs PHP -> runs SSH
[EMAIL PROTECTED]
Server B: Authenticates user SSH -> runs command
"su" is not involved, and has not been involved- I stated in my original
post, and in my last reply to you that it was only used in order for me
to
tting the tty after
returning from a system or whatever.
--Ross
Rasmus Lerdorf wrote:
Ross Becker wrote:
There's no output (besides the numeric return code) from SSH which I
care about- there shouldnt be anything coming back via stdout or
stderr. If there is, I'm happy to discard it
out some hope that this was my system configuration, and not something
fundamental in how PHP or worse- SSH acted.
Ross
Rasmus Lerdorf wrote:
Ross Becker wrote:
I think you're probably right. My gut is telling me that this has to
do with tty funkiness. I tried the batchmode option, but it did
7 matches
Mail list logo