SNMP Change keys Issue


 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications SNMP Change keys Issue
# 1  
Old 03-06-2008
SNMP Change keys Issue

Hi All
I have been facing a problem with snmpusm for creation of a new user from an existing user through cloning during Key Change.
The Existing user has been created using Passphrase and I intend to create the new user with a Auth and Encryption Keys rather that passphrases.
The documentation of snmpusm suggests the usage of -Ck option for the same.However the flag "f" is not identified for the option -C when i tried this.

The Versions:
SNMP:Net-SNMP 5.1.4
Kernel Version(Unix):2.4.20

The Syntax of the command used:
snmpusm -u user -l authpriv -a SHA -A authpassphrase -x AES -X encrKey [OPTIONS] passwd -Ca -Ck authpassphrase New_AuthKey

This shows that the flag k is not recognized for -C option.

Kindly let me know if net-SNMP hs to be upgraded for this.
when I see the documentation for snmpusm the option -Ck is perfectly on.

Thanks in advance

-Anand
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Issue with SNMP

Hi, I have a strange issue with snmwpalk. If I do snmpget on yyy.977.4.3.1.3.1006 I get the following successfull output : yyy.977.4.3.1.3.1006 = INTEGER: 206 This is what I was excepting for, now I want to look for other snmp addresses Under yyy.977.4.3.1.3.xxxx. If I do snmpwalk on... (3 Replies)
Discussion started by: FFedo
3 Replies

2. UNIX for Dummies Questions & Answers

Recreate/Restore Repository and/or change/delete Public Keys???

I have a BIG problem... I host a public (Debian) repository on Cydia (for jailbroken iphones). I use my home Mac running Ubuntu in VMWare Fusion. For the repository, I have to have 5 items in a folder to make it 'live:' 1. deb_files folder (to hold my Debian packages) 2. Packages file 3.... (0 Replies)
Discussion started by: thazsar
0 Replies

3. Shell Programming and Scripting

Snmp Process Monitoring Issue

Can someone please explain to me how come snmpwalk doesn't always find a running process that's on a remote server? I prefer to use snmp to monitor processes remotely because this doesn't require me to put a script on that remote box. but the problem is, there are times that my snmp command... (2 Replies)
Discussion started by: SkySmart
2 Replies

4. Solaris

passwordless login issue with ssh keys

Hi GUYS, Me have 2 servers, eg:: A & B id_dsa.pub key of B had been put in authorized_keys of A & Vice versa Passwordless login going from A to B. But while connecting from B to A ,its asking password Any one please help me out.. (6 Replies)
Discussion started by: racechap
6 Replies

5. Infrastructure Monitoring

SNMP Issue

When my server is restarted, SNMP does not start automatically. It needs to be started manually everytime the server is restarted. (1 Reply)
Discussion started by: shahdeo
1 Replies

6. Infrastructure Monitoring

net-snmp issue

When I run a script that polls a router I get the following error from net-snmp. I can not seem to find a straight answer. Could my mib files be corrupt? xxx-xxx:/etc/sma/snmp/mibs# perl /export/home/user/perl/test.pl Unlinked OID in SNMPv2-MIB: snmp ::= { mib-2 11 } Undefined identifier:... (2 Replies)
Discussion started by: mrlayance
2 Replies

7. Solaris

Net-SNMP-5.4.2.1 issue on Sun Solaris

Hi, I am trying to compile the source code for Net-SNMP-5.4.2.1 using the gcc compiler-3.4.6 and 3.4.3 but I am getting the follwoing error with perl enabled: /bin/sh ../libtool --mode=link gcc -g -O2 -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe -Wdeclaration-after-statement... (2 Replies)
Discussion started by: tisha
2 Replies

8. Solaris

Net-snmp issue in Solaris 8

Hi there, I know this is a common question, but I have not found a satsifactory solution yet, so pardon me for posting similar questions. My problem is the log /var/adm/messages is filling up with this entry every few minutes Please refer below. Oct 4 21:39:46 host last message repeated 3... (5 Replies)
Discussion started by: sundar63
5 Replies

9. Red Hat

RHEL 3 - how to change the SNMP community strings?

I have edited the snmpd.conf file on RHEL3, I changed: com2sec notConfigUser default public to : com2sec notConfigUser default new_string_name BUT, when my security guy scans the box, is still answers to public, I restarted snmpd. Is there more to this than just changing... (0 Replies)
Discussion started by: BG_JrAdmin
0 Replies
Login or Register to Ask a Question
encode_keychange(1)						     Net-SNMP						       encode_keychange(1)

NAME
encode_keychange - produce the KeyChange string for SNMPv3 SYNOPSIS
encode_keychange -t md5|sha1 [OPTIONS] DESCRIPTION
encode_keychange produces a KeyChange string using the old and new passphrases as described in Section 5 of RFC 2274 "User-based Security Model (USM) for version 3 of the Simple Network Management Protocol (SNMPv3)". -t option is mandatory and specifies the hash transform type to use. The transform is used to convert passphrase to master key for a given user (Ku), convert master key to the localized key (Kul), and to hash the old Kul with the random bits. Passphrases are obtained by examining a number of sources until success (in order listed): command line options (see -N and -O options below); the file $HOME/.snmp/passphrase.ek which should only contain two lines with old and new passphrase; standard input -or- user input from the terminal. OPTIONS
-E [0x]<engineID> EngineID used for Kul generation. <engineID> is intepreted as a hex string when preceeded by 0x, otherwise it is treated as a text string. If no <engineID> is speci- fied, it is constructed from the first IP address for the local host. -f Force passphrases to be read from standard input. -h Display the help message. -N "<new_passphrase>" Passphrase used to generate the new Ku. -O "<old_passphrase>" Passphrase used to generate the old Ku. -P Turn off the prompt for passphrases when getting data from standard input. -v Be verbose. -V Echo passphrases to terminal. SEE ALSO
The localized key method is defined in RFC 2274, Sections 2.6 and A.2, and originally documented in U. Blumenthal, N. C. Hien, B. Wijnen, "Key Derivation for Network Management Applications", IEEE Network Magazine, April/May issue, 1997. V5.6.2.1 16 Nov 2006 encode_keychange(1)