ssh2_tunnel Open a tunnel through a remote server &reftitle.description; resourcessh2_tunnel resourcesession stringhost intport Open a socket stream to an arbitrary host/port by way of the currently connected SSH server. &reftitle.parameters; session An SSH connection link identifier, obtained from a call to ssh2_connect. host port &reftitle.returnvalues; &reftitle.examples; Opening a tunnel to an arbitrary host ]]> &reftitle.seealso; ssh2_connect fsockopen