(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().
成功时返回 true, 或者在失败时返回 false。
true
false