Please wait while we load your page...

PasswordSentry

Latest Version [8.00202205221] Last Updated [May-22-2022]

Tools

PHP Manual [ssh2_disconnect]

Protect Your Website Today


PHP Manual || SSH2 Functions

(PECL ssh2 >= 1.0)

ssh2_disconnectClose a connection to a remote SSH server

Description

ssh2_disconnect ( resource $session ) : bool

Close a connection to a remote SSH server.

Parameters

session

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

Return Values

Returns TRUE on success or FALSE on failure.

See Also



PHP Manual || SSH2 Functions