Hi Simon,
  My understanding is the only way of adding the key is with the snmpusm
command. Except it doesn't work for me.

$ snmpusm -v3 -u simon -l authPriv -a SHA1 -A simon-pass -x AES128 -X
simon-priv localhost changekey simon
snmpusm:
Can't get diffie-helman exchange from the agent
  (maybe it doesn't support the SNMP-USM-DH-OBJECTS-MIB MIB)

I should be getting a set of keys but I'm not. Turning on debugging for usm
shows the user being authenticated but no usmDH processing happening.

 - Craig





On Wed, 31 Aug 2022 at 23:46, Simon Chamlian <simon.chaml...@mpbc.ca> wrote:

>
>
> Hi,
>
> Does NET-SNMP 5.9.x support Diffie-Hellman?
> If so, how do I configure it in snmpd.configuration?
>
> For example, if I have the following in snmpd.conf:
>
> createUser simon  SHA "simon-pass" AES128   "simon-priv"
> rwuser simon
>
>
> How do I add a DH key?
>
> Thanks,
> S.
>
>
> _______________________________________________
> Net-snmp-coders mailing list
> Net-snmp-coders@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to