All MIBs › RAISECOM-SSH-MIB › sshSessionState
sshSessionState
Module: RAISECOM-SSH-MIB
OID (symbolic): RAISECOM-SSH-MIB::sshSessionState
OID (numeric): 1.3.6.1.4.1.8886.1.15.1.3.1.1.3
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: The object indicates the current state of Secure Shell Session. The state sessionVersionOk(1) indicates that server and client versions of SSH are exchanged and are compatible. The state sessionKeysExchanged(2) indicates that key exchange has been completed. The state sessionAuthenticated(3) indicates that the client has been successfully authenticated. The state sessionOpen(4) indicates that the session has been successfully opened. The state sessionDisconnecting(5) indicates that the session disconnection has begun. The state sessionDisconnected(6)indicates that the session has been disconnected. The state sessionClosed(7) indicates that the session has closed.
What is sshSessionState?
A read-only value reporting where this SSH session currently is in its lifecycle: sessionVersionOk, sessionKeysExchanged, sessionAuthenticated, sessionOpen, sessionDisconnecting, sessionDisconnected, or sessionClosed. An admin uses this to spot a session stuck at sessionAuthenticated(3) without reaching sessionOpen(4), which would point to a post-authentication setup problem.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.8886.1.15.1.3.1.1.3 snmpwalk -v2c -c public <target> RAISECOM-SSH-MIB::sshSessionState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.8886.1.15.1.3.1.1.3.1 snmpget -v2c -c public <target> RAISECOM-SSH-MIB::sshSessionState.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> sshSessionState.1
Start monitoring Raisecom access/transport network equipment, switches and media converters (SSH server) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the RAISECOM-SSH-MIB::sshSessionState OID value, configure state conditions and alerts, and monitor any Raisecom access/transport network equipment, switches and media converters (SSH server) from a single console.
OID Breakdown
Upper-level ancestors (8 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.8886 | raisecom | RAISECOM-BASE-MIB |
| 1.3.6.1.4.1.8886.1 | raisecomAgent | RAISECOM-BASE-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.8886.1.15 | raisecomSsh | RAISECOM-SSH-MIB |
| 1.3.6.1.4.1.8886.1.15.1 | raisecomSshObjects | RAISECOM-SSH-MIB |
| 1.3.6.1.4.1.8886.1.15.1.3 | raisecomSshSessionInfo | RAISECOM-SSH-MIB |
| 1.3.6.1.4.1.8886.1.15.1.3.1 | sshSessionTable | RAISECOM-SSH-MIB |
| 1.3.6.1.4.1.8886.1.15.1.3.1.1 | sshSessionEntry | RAISECOM-SSH-MIB |
| 1.3.6.1.4.1.8886.1.15.1.3.1.1.3 | sshSessionState | RAISECOM-SSH-MIB |