Manuál PHP | ||
---|---|---|
Předcházející | Další |
ssh2_publickey_list
Popis
array ssh2_publickey_list ( resource pkey )Poznámka: Subsystém veřejných klíčů se používá pro správu veřejných klíčů na serveru, na kterém je klient již autentizován. K autentizaci na vzdáleném systému pomocí veřejného klíče použijte místo toho funkci ssh2_auth_pubkey_file().
Návratové hodnoty
Returns a numerically indexed array of keys, each of which is an associative array containing: name, blob, and attrs elements.
Tabulka 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. |
Příklady
Předcházející | Domů | Další |
ssh2_publickey_init | Nahoru |