ssh2_disconnect
(PECL ssh2 >= 1.0)
ssh2_disconnect — Close a connection to a remote SSH server
说明
ssh2_disconnect (
resource
$session
) :
bool
Close a connection to a remote SSH server.
参数
-
session
-
An SSH connection link identifier, obtained from a call to ssh2_connect().
返回值
成功时返回 TRUE
, 或者在失败时返回 FALSE
。
参见
- ssh2_connect() - Connect to an SSH server