ssh2_tunnel

--0015174bdf3ce623ab04631bee61
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Hi ,

Please help me to connect mysql on remote server using SSH tunnel.
I want to use ssh2_tunnel function, but didn't find any sample with that
function.

--
Best Regards,
Gevorg Harutyunyan

--0015174bdf3ce623ab04631bee61--
Gevorg Harutyunyan [ Di, 17 Februar 2009 12:52 ] [ ID #1989859 ]

Re: ssh2_tunnel

--0015175d676e95b31b04631c7007
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi Gevorg,

this is a example

ssh -L localPort:remoteServer:remotePort username [at] tunnelServer

this is:

ssh -L 13306:remoteServer:3306 username [at] tunnelServer



the localPort is where you will connect your mysql client.

Regards

On Tue, Feb 17, 2009 at 9:52 AM, Gevorg Harutyunyan <gevorg.ha [at] gmail.com>wrote:

> Hi ,
>
> Please help me to connect mysql on remote server using SSH tunnel.
> I want to use ssh2_tunnel function, but didn't find any sample with that
> function.
>
> --
> Best Regards,
> Gevorg Harutyunyan
>



--
Gerardo Benitez

--0015175d676e95b31b04631c7007--
Gerardo Benitez [ Di, 17 Februar 2009 13:28 ] [ ID #1989860 ]
PHP » gmane.comp.php.database » ssh2_tunnel

Vorheriges Thema: sqlnet.ora doesn't seem to be read since oci8 1.3.4
Nächstes Thema: View video, Send Comments