ssh2_publickey_list
Opis
array ssh2_publickey_list ( resource pkey )Notatka: Podsystem publickey używany jest do zarządzania kluczami publicznymi na serwerze do którego klient już jest autoryzowany. Aby autoryzować się do zdalnego systemu używając autoryzacji publickey, należy skorzystać z funkcji ssh2_auth_pubkey_file().
Zwracane wartości
Returns a numerically indexed array of keys, each of which is an associative array containing: name, blob, and attrs elements.
Tabela 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. |
Przykłady
| Poprzedni | Spis treści | Następny |
| ssh2_publickey_init | Początek rozdziału |