sshRsaHostKey3

FS-MIB · .1.3.6.1.4.1.52642.2.1.45.1.17.6.10

Object

scalar KeySegment
The RSA host key segment 3.

Context

MIB
FS-MIB
OID
.1.3.6.1.4.1.52642.2.1.45.1.17.6.10
Type
scalar
Access
readonly
Status
current
Parent
sshMgt

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

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

Syntax

Source
KeySegment
Base type
OctetString
Based on
SNMPv2-TCDisplayString
Type Description
The total length of the key is 1024 characters,
it is divided into 8 parts and stored in 8 separated mib
variables as below:
          
    Key1: part 1 of the key (1-128)
    Key2: part 2 of the key (129-256)
    Key3: part 3 of the key (257-384)
    Key4: part 4 of the key (385-512)
    Key5: part 5 of the key (513-640)
    Key6: part 6 of the key (641-768)
    Key7: part 7 of the key (769-896)
    Key8: part 8 of the key (897-1024)
          
Please note that if the key string is less then 1024 characters,
the remaining part of the string will be filled by a zero-length string.
For example, if the length of the key is 129,
we will get a string of length 128 in Key1, and
a string of length 1 in Key2,
moreover, Key3 to Key8 will all be zero-length strings.

Values & Constraints

Type Constraints
range: 0..128