ssh2_forward_listen

(PECL ssh2 >= 0.9.0)

ssh2_forward_listen — Bind a port on the remote server and listen for connections

Beschreibung

function ssh2_forward_listen(
    resource $session,
    int $port,
    string $host = ?,
    int $max_connections = 16
): resource|false

Binds a port on the remote server and listen for connections.

Warnung

Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Parameter zur Verfügung.

Parameter-Liste

session

An SSH Session resource, obtained from a call to ssh2_connect().

port

The port of the remote server.

host

max_connections

Rückgabewerte

Returns an SSH2 Listener, Bei einem Fehler wird false zurückgegeben..

Siehe auch

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top