SSH2_PUBLICKEY_REMOVE(3) 1 SSH2_PUBLICKEY_REMOVE(3)
ssh2_publickey_remove - Remove an authorized publickey
SYNOPSIS
bool ssh2_publickey_remove (resource $pkey, string $algoname, string $blob)
DESCRIPTION
Removes an authorized publickey.
PARAMETERS
o $pkey
- Publickey Subsystem Resource
o $algoname
- Publickey algorithm (e.g.): ssh-dss, ssh-rsa
o $blob
- Publickey blob as raw binary data
RETURN VALUES
Returns TRUE on success or FALSE on failure.
NOTES
Note
The public key subsystem is used for managing public keys on a server to which the client is already authenticated. To authenticate
to a remote system using public key authentication, use the ssh2_auth_pubkey_file(3) function instead.
SEE ALSO
ssh2_publickey_init(3), ssh2_publickey_add(3), ssh2_publickey_list(3).
PHP Documentation Group SSH2_PUBLICKEY_REMOVE(3)