snmpkey (1)
Leading comments
Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) Standard preamble: ========================================================================
NAME
snmpkey - Create SNMPv3 security keys for the Net::SNMP moduleUSAGE
The "snmpkey" utility generates security keys based on a password and an authoritativeEngineID passed on the command line. This key can then be used by the Net::SNMP module instead of the plain text password when creating SNMPv3 objects.
snmpkey <authProto> <password> <authEngineID> [<privProto> [<password>]]
DESCRIPTION
The User-based Security Model used by SNMPv3 defines an algorithm which ``localizes'' a plain text password to a specific authoritativeEngineID using a one-way hash. This resulting key is used by theThe Net::SNMP module allows the user to either provide a plain text password or a localized key to the object constructor when configuring authentication or privacy. The "snmpkey" utility can be used to generate the key to be used by the -authkey or -privkey named arguments when they are passed to the Net::SNMP "session()" constructor.
REQUIRED ARGUMENTS
The "snmpkey" utility requires at least three command line arguments. The first argument defines which hash algorithm to use when creating the authKey. EitherThe last two arguments are optional and can be used to determine how the privKey will be generated. By default, the fourth argument assumes a value of 'des' corresponding to the default privacy protocol defined in the User-based Security Model. The Net::SNMP module supports
AUTHOR
David M. Town <dtown@cpan.org>LICENSE AND COPYRIGHT
Copyright (c) 2001-2009 David M. Town. All rights reserved.This program is free software; you may redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.