Re: How to etablish an SSH2 tunnel with php ? [message #177485 is a reply to message #177484] |
Mon, 02 April 2012 10:54 |
M. Strobel
Messages: 386 Registered: December 2011
Karma:
|
Senior Member |
|
|
Am 02.04.2012 12:31, schrieb M. Strobel:
> Am 01.04.2012 07:03, schrieb Une Bévue:
>> Le 31/03/2012 21:18, Jerry Stuckle a écrit :
>>> Are you trying this after printing the fingerprint
>>
>> yes I've tested before authentification, knowing authentification fail...
>>
>
> You have tested login, but did you test the port forwarding?
>
> /Str.
>
You said you did, in your first post.
Okay, so tunneling is working for your login.
Is your PHP script running in a web server? If yes, you have to setup and test for
the web server user id. The web server can still use your login on the remote system,
but it needs its own ssh files.
I would only try to do it in my LAN.
I would rather get SSL for Postgresql working (give it a self signed certificate),
and allow access for your IP.
/Str.
|
|
|