ssh2_disconnect

(PECL ssh2 >= 1.0)

ssh2_disconnectClose a connection to a remote SSH server

Beschreibung

ssh2_disconnect(resource $session): bool

Close a connection to a remote SSH server.

Parameter-Liste

session

An SSH connection link identifier, obtained from a call to ssh2_connect().

Rückgabewerte

Gibt bei Erfolg true zurück. Bei einem Fehler wird false zurückgegeben.

Siehe auch