Home > PHP > Function > SSH2 > ssh2_methods_negotiated()

ssh2_methods_negotiated()

ssh2_methods_negotiated - Return list of negotiated methods

Syntax

array ssh2_methods_negotiated (resource $session)

Arguments

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

Description

Returns list of negotiated methods.

Version

PHP PECL ssh2 >= 0.9.0

Return value