Archive Index
This month's Index
|
Subject: ssh_tunnel
ssh_tunnel
From: <junk_at_igrspace.com>
Date: Fri, 12 Nov 2010 13:43:26 -0800
Hello everyone,
I am actually here with a usage question for the libssh2 PHP binding
I am trying to setup a tunneled ssh connection from a PHP script to an ssh
server. It's a two-step connection over a 'security gateway', as firewalls
prevent me from reaching the target server directly.
Using ssh, i would typically do
ssh -NL localhost:localport:desthost:22 &
Now, the PHP binding does provide ssh2_tunnel() which takes remote host
Any help is appreciated.
Immanuel Gregoire
|