ssh2_disconnect

(PECL ssh2 >= 1.0)

ssh2_disconnectClose 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��

�μ�