FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » problems with exec()
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: problems with exec() [message #177732 is a reply to message #177731] Wed, 18 April 2012 18:37 Go to previous messageGo to previous message
J.O. Aho is currently offline  J.O. Aho
Messages: 194
Registered: September 2010
Karma:
Senior Member
Une Bévue wrote:
> Le 18/04/2012 18:02, J.O. Aho a écrit :
>>
>> Otherwise, you can copy the public key to the www-data users ~/.ssh and
>> the ssh would have worked. Of course you could have setup a cron job
>> instead which would recreated the tunnel each time it went down.
>> Of course those two solutions aren't as good as using the proper method.
>
> ok, thanks.
> In fact i've used the ssh tunnel because it was the simplest :
> create the tunnel and use the psql server as if it is local.

*nods*
In a way it's easy, but at the same time you get something more that can fail
and it can be looking strange in the error messages when the ssh tunnel is
still there while the other end of the tunnel don't work, seen issues with
that at a company I used to work for.

I haven't followed your thread, but you know that user A can setup the tunnel
and user B can use it.



--

//Aho
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: $this->delimiter in php explode
Next Topic: We Need Speakers For MOSC2012
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Dec 12 09:24:46 GMT 2024

Total time taken to generate the page: 0.04937 seconds