The utility is called "snmpkey". If it's not installed, make sure that you have the development package for your distro installed in addition to the package for the SNMP agent.
(Ubuntu example: "apt-get install snmpd" won't fetch snmpkey, "apt-get "install libnet-snmp-perl" will) http://search.cpan.org/~dtown/Net-SNMP-5.2.0/snmpkey.PL Davin wrote: > I'm pretty sure that there's a little remembered Perl script packaged > with Net-SNMP that can localize passwords to keys if you provide the > remote agent ID. It uses the Perl API provided by Net-SNMP if you want > to integrate it into your tools. > > I won't have the time to look for it until tonight - if this doesn't > ring a bell for someone else, you can download Unbrowse SNMP (free, some > advanced features go away after trial) and use the Security -> Localize > Key option. The engineID can be found in the same file you dropped your > createUser statements in under /var. > > > -davin > > Mike Ayers wrote: >>> From: [EMAIL PROTECTED] >>> [mailto:[EMAIL PROTECTED] On >>> Behalf Of Goltz, Jim (NIH/NLM/LHC) [C] >>> Sent: Friday, September 14, 2007 7:32 AM >>> In the JetDirect web configuration pages for our HP LaserJet 9050 is a >>> page for configuring SNMP, including SNMPv3 authentication and privacy >>> keys. I'm using SNMPv3 quite successfully with net-snmp, using >>> "net-snmp-config --create-snmpv3-user" to create users with given >>> authentication and privacy passwords. >> Keys and passwords are *not* the same. Keys are binary data used with >> the encryption and authentication algorithms. Passwords, in the sense we >> are discussing, are human-memorizable (preferably barely so) text strings. >> >> I do not know for certain how net-snmp does its conversion, but >> Appendix A.2 of RFC3414 (USM) explains the conversion process and gives a >> suggested algorithm. I believe that the suggested algorithm is used in >> net-snmp, but, again, I do not know for sure. >> >> I could not find a net-snmp utility that prints a key gievn a user and >> password. >> >> >> HTH, >> >> Mike >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Net-snmp-users mailing list >> [email protected] >> Please see the following page to unsubscribe or change other options: >> https://lists.sourceforge.net/lists/listinfo/net-snmp-users > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Net-snmp-users mailing list > [email protected] > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
