sshServerStatus
QTECH-ALT-MIB ·
.1.3.6.1.4.1.2751.100.10.2.1
Object
scalar r/w
Enumeration
The status of Secure Shell Server, set this value to 1 to enable SSH server, set this value to 0 to disable the SSH server.
Context
- MIB
- QTECH-ALT-MIB
- OID
.1.3.6.1.4.1.2751.100.10.2.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- sshMgt
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'QTECH-ALT-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'QTECH-ALT-MIB::sshServerStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'QTECH-ALT-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'QTECH-ALT-MIB::sshServerStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | disable |
1 | enable |