SSH-MIB :: swSSHRegenerateHostKey

MIB Reference — IPNetwork Monitor · Updated September 21, 2026

All MIBs › SSH-MIB › swSSHRegenerateHostKey

swSSHRegenerateHostKey

Module: SSH-MIB

OID (symbolic): SSH-MIB::swSSHRegenerateHostKey

OID (numeric): 1.3.6.1.4.1.2272.1.201.1.5.1.7

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: As the object is set to active means to regenerate hostkey in SSH server. If set to normal, do nothing.

What is swSSHRegenerateHostKey?

Setting this to active(2) causes the switch to regenerate its SSH host key immediately; setting it to normal(1) has no effect.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2272.1.201.1.5.1.7
snmpwalk -v2c -c public <target> SSH-MIB::swSSHRegenerateHostKey

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.2272.1.201.1.5.1.7.1
snmpget -v2c -c public <target> SSH-MIB::swSSHRegenerateHostKey.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.2272.1.201.1.5.1.7.1 i <value>

Start monitoring FastPath-family managed switch (SSH server/cipher configuration) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SSH-MIB::swSSHRegenerateHostKey OID value, configure state conditions and alerts, and monitor any FastPath-family managed switch (SSH server/cipher configuration) from a single console.

OID Breakdown

Upper-level ancestors (10 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.2272rapidCityRAPID-CITY
1.3.6.1.4.1.2272.1rcMgmtRAPID-CITY
1.3.6.1.4.1.2272.1.201cobraSWPRIMGMT-MIB
1.3.6.1.4.1.2272.1.201.1privateMgmtSWPRIMGMT-MIB
Numeric OIDNameModule
1.3.6.1.4.1.2272.1.201.1.5swSSHMIBSSH-MIB
1.3.6.1.4.1.2272.1.201.1.5.1swSSHMgmtSSH-MIB
1.3.6.1.4.1.2272.1.201.1.5.1.7swSSHRegenerateHostKeySSH-MIB