Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #5563

Re: problems with exec()

From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: problems with exec()
Date 2012-04-18 20:37 +0200
Message-ID <9v8g01F2rjU1@mid.individual.net> (permalink)
References (5 earlier) <4f8bd352$0$21937$426a34cc@news.free.fr> <9v338gFtdpU1@mid.individual.net> <4f8ec54d$0$16482$426a74cc@news.free.fr> <9v86s3FrkcU1@mid.individual.net> <4f8efd29$0$21917$426a74cc@news.free.fr>

Show all headers | View raw


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

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

problems with exec() 7segment <7segment@nowhere.com> - 2012-04-15 11:37 -0500
  Re: problems with exec() 7segment <7segment@nowhere.com> - 2012-04-15 11:47 -0500
    Re: problems with exec() Jerry Stuckle <jstucklex@attglobal.net> - 2012-04-15 13:34 -0400
  Re: problems with exec() "J.O. Aho" <user@example.net> - 2012-04-15 19:43 +0200
    Re: problems with exec() "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-04-16 00:16 +0200
      Re: problems with exec() "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-04-16 00:22 +0200
        Re: problems with exec() "J.O. Aho" <user@example.net> - 2012-04-16 07:17 +0200
          Re: problems with exec() Une Bévue <unbewusstsein@fai.invalid> - 2012-04-16 10:07 +0200
            Re: problems with exec() "J.O. Aho" <user@example.net> - 2012-04-16 19:29 +0200
              Re: problems with exec() Une Bévue <unbewusstsein@fai.invalid> - 2012-04-18 15:44 +0200
                Re: problems with exec() "J.O. Aho" <user@example.net> - 2012-04-18 18:02 +0200
                Re: problems with exec() Une Bévue <unbewusstsein@fai.invalid> - 2012-04-18 19:43 +0200
                Re: problems with exec() "J.O. Aho" <user@example.net> - 2012-04-18 20:37 +0200
                Re: problems with exec() Une Bévue <unbewusstsein@fai.invalid> - 2012-04-18 23:31 +0200
  Re: problems with exec() Kim André Akerø <kimandre@nospambetadome.com> - 2012-04-16 13:27 +0200
    Re: problems with exec() "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-04-16 14:43 +0200

csiph-web