Net::SSH2::PublicKey(3pm)

Net::SSH2::PublicKey3pm

Ssh 2 public key object

Overview

   *** WARNING: public key functionality in libssh2 is experimental
   *** and mostly abandoned. Don't expect anything on this module to
   *** work correctly.

A public key object is created by the Net::SSH2 "public_key" method.

Methods

add ( name, blob, overwrite flag, attributes... )

Adds a new public key; attributes is a list of hashes with "name", "value", and "mandatory" keys; mandatory defaults to false and value to empty.

remove ( name, blob )

Remove the given public key.

fetch

Returns a list of public keys in array context (count in scalar context); each item is a hash with keys "name", "blob", and "attr", with the latter being a hash with "name", "value", and "mandatory" keys.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

From libnet-ssh2-perl 0.74-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.