All MIBs › EdgeSwitch-MGMT-SECURITY-MIB › agentSSHKeysPresent
agentSSHKeysPresent
Module: EdgeSwitch-MGMT-SECURITY-MIB
OID (symbolic): EdgeSwitch-MGMT-SECURITY-MIB::agentSSHKeysPresent
OID (numeric): 1.3.6.1.4.1.4413.1.1.11.2.6
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: Indicates what key files are present on the device, if any.
What is agentSSHKeysPresent?
This object reports which SSH host key types are currently present on the switch: dsa(1), rsa(2), both(3), or none(4). An admin checks it before enabling SSH to confirm at least one key type has been generated, since SSH cannot start without a host key. Seeing none(4) tells the admin they must first trigger key generation via agentSSHRSAKeyControl or agentSSHDSAKeyControl.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.4413.1.1.11.2.6 snmpwalk -v2c -c public <target> EdgeSwitch-MGMT-SECURITY-MIB::agentSSHKeysPresent
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.4413.1.1.11.2.6.1 snmpget -v2c -c public <target> EdgeSwitch-MGMT-SECURITY-MIB::agentSSHKeysPresent.1
Start monitoring Ubiquiti EdgeSwitch managed Ethernet switch (management-plane ACLs/login policy) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the EdgeSwitch-MGMT-SECURITY-MIB::agentSSHKeysPresent OID value, configure state conditions and alerts, and monitor any Ubiquiti EdgeSwitch managed Ethernet switch (management-plane ACLs/login policy) 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.4413 | broadcom | BASP-Config-MIB |
| 1.3.6.1.4.1.4413.1 | enet | BASP-Config-MIB |
| 1.3.6.1.4.1.4413.1.1 | fastPath | EdgeSwitch-REF-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.4413.1.1.11 | fastPathMgmtSecurity | EdgeSwitch-MGMT-SECURITY-MIB |
| 1.3.6.1.4.1.4413.1.1.11.2 | agentSSHConfigGroup | EdgeSwitch-MGMT-SECURITY-MIB |
| 1.3.6.1.4.1.4413.1.1.11.2.6 | agentSSHKeysPresent | EdgeSwitch-MGMT-SECURITY-MIB |