I had SSH setup to require passwords when logging in, so that is why I
was having trouble trying to figure out how to get it to work. I now
have the two servers in question setup to auto login based on their
keys. I have successfully run the remote script from the CLI on server
1. Now I just ne
, Warren
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] remote script execution
Warren,
I use ssh on all of my servers for logging in remotely. My next
question would be, how do I connect to the remote server to run commands
through PHP? Do I need to setup a socket or something? Could you provide
m
Warren,
I use ssh on all of my servers for logging in remotely. My next
question would be, how do I connect to the remote server to run commands
through PHP? Do I need to setup a socket or something? Could you provide
me a pseudo sample or maybe point me to some docs. I've never had to do
th
sent between the servers is encrypted
rendering it virtually useless to third parties. Google for ssh for more
info.
Warren Vail
-Original Message-
From: Sean Smith [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 1:40 PM
To: [EMAIL PROTECTED]
Subject: [PHP] remote script exec
Scenario:
Server 1 is a LAMP webserver
Server 2 is an email server
I have a php script on server 2 that creates user accounts. It works
great when your logged into the server and running it from the CLI.
I have a GUI on server 1 that is used to input user info into a database.
Question:
What I'd
Scenario:
Server 1 is a web server
Server 2 is an email server
I have a php script on Server 2 that creates user accounts from the CLI
just fine.
I have a GUI on Server 1 with several forms for user data stored in a
database.
What I'm trying to do is have Server 1 call the script on Server 2 an
Scenario
Server 1 is a LAMP webserver.
Server 2 is an email server.
I have a php script on Server 2 that creates user accounts and echos the
UID, GID, and HOME. It works great when your logged into Server 2 and
run it from the CLI.
What I'm trying to do is have my GUI on Server 1 call the script
7 matches
Mail list logo