Home > PHP > Function > SSH2 > ssh2_publickey_remove()

ssh2_publickey_remove()

ssh2_publickey_remove - Remove an authorized publickey

Syntax

bool ssh2_publickey_remove (resource $pkey, string $algoname, string $blob)

Arguments

  • pkey - Publickey Subsystem Resource
  • algoname - Publickey algorithm (e.g.): ssh-dss, ssh-rsa
  • blob - Publickey blob as raw binary data

Description

Removes an authorized publickey.

Version

PHP PECL ssh2 >= 0.10

Return value

Returns TRUE on success or FALSE on failure.