Nota: O subsistema de chave publica é usado para gerenciar chaves publicas em um sistema no qual o cliente já esteja autenticado. para autenticar em um sistema remoto usando autenticação de chave publica, use ao invés a função ssh2_auth_pubkey_file().
pkeyPublickey Subsystem resource created by ssh2_publickey_init().
algonamePublickey algorithm (e.g.): ssh-dss, ssh-rsa
blobPublickey blob as raw binary data
overwriteIf the specified key already exists, should it be overwritten?
attributesAssociative array of attributes to assign to this public key. Refer to ietf-secsh-publickey-subsystem for a list of supported attributes. To mark an attribute as mandatory, precede its name with an asterisk. If the server is unable to support an attribute marked mandatory, it will abort the add process.