1Net::SSH2::PublicKey(3)User Contributed Perl DocumentatioNnet::SSH2::PublicKey(3)
2
3
4

NAME

6       Net::SSH2::PublicKey - SSH 2 public key object
7

DESCRIPTION

9       A public key object is created by the Net::SSH2 "public_key" method.
10
11       add ( name, blob, overwrite flag, attributes... )
12
13       Adds a new public key; attributes is a list of hashes with "name",
14       "value", and "mandatory" keys; mandatory defaults to false and value to
15       empty.
16
17       remove ( name, blob )
18
19       Remove the given public key.
20
21       fetch
22
23       Returns a list of public keys in array context (count in scalar con‐
24       text); each item is a hash with keys "name", "blob", and "attr", with
25       the latter being a hash with "name", "value", and "mandatory" keys.
26

SEE ALSO

28       Net::SSH2.
29

AUTHOR

31       David B. Robins, <dbrobins@cpan.org>
32
34       Copyright (C) 2005, 2006 by David B. Robins; all rights reserved.
35
36       This library is free software; you can redistribute it and/or modify it
37       under the same terms as Perl itself, either Perl version 5.8.0 or, at
38       your option, any later version of Perl 5 you may have available.
39
40
41
42perl v5.8.8                       2007-02-24           Net::SSH2::PublicKey(3)
Impressum