/usr/lib/x86_64-linux-gnu/perl5/5.24/Net/SSH2/PublicKey.pm is in libnet-ssh2-perl 0.63-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | package Net::SSH2::PublicKey;
use strict;
use warnings;
use Carp;
# methods
1;
__END__
=head1 NAME
Net::SSH2::PublicKey - SSH 2 public key object
=head1 DESCRIPTION
*** 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 L<Net::SSH2> C<public_key> method.
=head1 METHODS
=head2 add ( name, blob, overwrite flag, attributes... )
Adds a new public key; attributes is a list of hashes with C<name>, C<value>,
and C<mandatory> keys; mandatory defaults to false and value to empty.
=head2 remove ( name, blob )
Remove the given public key.
=head2 fetch
Returns a list of public keys in array context (count in scalar context);
each item is a hash with keys C<name>, C<blob>, and C<attr>, with the latter
being a hash with C<name>, C<value>, and C<mandatory> keys.
=head1 SEE ALSO
L<Net::SSH2>.
=cut
|