All MIBs › DMswitch-MIB › sshHostKeyGenAction
sshHostKeyGenAction
Module: DMswitch-MIB
OID (symbolic): DMswitch-MIB::sshHostKeyGenAction
OID (numeric): 1.3.6.1.4.1.3709.3.5.201.1.17.2.8
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: This variable is for host key generating.
For the set behavior: Set it to genRsaKey(2) to generate the RSA host key, and to genDsaKey(3) to generate the DSA host key, if genBothKeys(4) is set, both RSA and DSA host key are generated.
For the get behavior: You will get genRsaKey(2), genDsaKey(3) or genBothKeys(4) when the key gen action is in progress. otherwise, you will get noGen(1).
What is sshHostKeyGenAction?
Triggers or reports SSH host key generation: writing genRsaKey(2), genDsaKey(3), or genBothKeys(4) starts generating that key type, while noGen(1) means no generation is in progress; reading back genRsaKey/genDsaKey/genBothKeys while a job runs shows it's still working. An admin writes genBothKeys(4) to regenerate both host keys, e.g. after a suspected key compromise, then polls this object until it returns to noGen(1) to confirm completion.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.3709.3.5.201.1.17.2.8 snmpwalk -v2c -c public <target> DMswitch-MIB::sshHostKeyGenAction
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.3709.3.5.201.1.17.2.8.1 snmpget -v2c -c public <target> DMswitch-MIB::sshHostKeyGenAction.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.3709.3.5.201.1.17.2.8.1 i <value>
Start monitoring Datacom DmSwitch series with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DMswitch-MIB::sshHostKeyGenAction OID value, configure state conditions and alerts, and monitor any Datacom DmSwitch series from a single console.
OID Breakdown
Upper-level ancestors (9 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.3709 | datacom | DATACOM-SMI |
| 1.3.6.1.4.1.3709.3 | datacomProductsMIBs | DATACOM-SMI |
| 1.3.6.1.4.1.3709.3.5 | datacomAccessDevicesMIBs | DATACOM-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.3709.3.5.201 | dmSwitchMIB | DMswitch-MIB |
| 1.3.6.1.4.1.3709.3.5.201.1 | dmSwitchMIBObjects | DMswitch-MIB |
| 1.3.6.1.4.1.3709.3.5.201.1.17 | securityMgt | DMswitch-MIB |
| 1.3.6.1.4.1.3709.3.5.201.1.17.2 | sshMgt | DMswitch-MIB |
| 1.3.6.1.4.1.3709.3.5.201.1.17.2.8 | sshHostKeyGenAction | DMswitch-MIB |