sshPublicKeySize

CISCO-STACK-MIB · .1.3.6.1.4.1.9.5.1.1.63

Object

scalar r/w Integer32
Indicates public key size in bits. In write, if
a key does not exist, a value between 512 and 2048
will generate a RSA public key with the value as
its key size for secured shell access. If a key
exists a value other than 0 is valid, indicating a
clear key operation. In read, the current key size
is returned if a key exists. If not,a 0 is
returned.

Context

MIB
CISCO-STACK-MIB
OID
.1.3.6.1.4.1.9.5.1.1.63
Type
scalar
Access
readwrite
Status
current
Parent
systemGrp
Groups
1

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACK-MIB::sshPublicKeySize.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-STACK-MIB::sshPublicKeySize'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-0 range: 512-2048

Conformance