(PECL ssh2 >= 1.0)
ssh2_disconnect — Close a connection to a remote SSH server
$session
Close a connection to a remote SSH server.
session
An SSH connection link identifier, obtained from a call to ssh2_connect().
Returns true on success or false on failure.
true
false