11111
ssh2_publickey_list
(no version information, might be only in CVS)ssh2_publickey_list --
List currently authorized publickeys
Замечание: The publickey subsystem
is used for managing publickeys on a server to which the client is
already authenticated. To authenticate to a remote system
using publickey authentication, use the ssh2_auth_pubkey_file()
function instead.
- Returns a numericly indexed array of keys,
each of which is an associative array containing:
name, blob, and attrs elements.
-
Таблица 1. Publickey elements
Array Key | Meaning |
---|---|
name | Name of algorithm used by this publickey, for example:
ssh-dss or ssh-rsa. |
blob | Publickey blob as raw binary data. |
attrs | Attributes assigned to this publickey.
The most common attribute, and the only one supported by publickey version 1 servers, is comment, which may be any freeform string. |
-
-
ssh2_publickey_init() |
ssh2_publickey_add() |
ssh2_publickey_remove() |
ssh2_publickey_init
ssh2_publickey_remove 22222