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
I've done a number of these and the choice depends on many things but
perhaps the biggest factor is;
Is server 1 and server 2 behind the same firewall or are they exposed to the
internet?
Behind a firewall you can probably get away with running any one of the
following commands to remotely execut
4 matches
Mail list logo