ssh2_publickey_list
List currently authorized publickeys
&reftitle.description;
arrayssh2_publickey_list
resourcepkey
List currently authorized publickeys.
&reftitle.parameters;
pkey
Publickey Subsystem resource
&reftitle.returnvalues;
Returns a numerically indexed array of keys,
each of which is an associative array containing:
name, blob, and attrs elements.
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.
&reftitle.examples;
Listing authorized keys with ssh2_publickey_list
]]>
&example.outputs;
&reftitle.notes;
¬e.ssh2.subsystem.publickey;
&reftitle.seealso;
ssh2_publickey_init
ssh2_publickey_add
ssh2_publickey_remove