ssh2_forward_listen
ssh2_forward_listen
Bind a port on the remote server and listen for connections
**ssh2_forward_listen** resource $session int $port string $host int $max_connections
Binds a port on the remote server and listen for connections.
session
An SSH Session resource, obtained from a call to .
ssh2_connect
portThe port of the remote server.
host
max_connections
Returns an SSH2 Listener, return.falseforfailure.
ssh2_forward_accept