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       Adds a new public key; attributes is a list of hashes with "name",
13       "value", and "mandatory" keys; mandatory defaults to false and value to
14       empty.
15
16   remove ( name, blob )
17       Remove the given public key.
18
19   fetch
20       Returns a list of public keys in array context (count in scalar
21       context); each item is a hash with keys "name", "blob", and "attr",
22       with the latter being a hash with "name", "value", and "mandatory"
23       keys.
24

SEE ALSO

26       Net::SSH2.
27

AUTHOR

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