SSHd sessions advanced information


View detailed session information and statistics.

Access mode

exec

Syntax

show switchServices sshd sessions advanced

Output Description

Heading Description Filter
Client IP The IP address of the SSH client (the user's application that is talking to the server). clientIp ipAddress
Client Port The number of the TCP port the client is using to connect to the server. clientPort integer
Session Index The internally assigned index number for the session. sessionIndex integer
Session Name The internally assigned name of this SSH session, based on the client IP address and port. sessionName text
TTY Name The internally assigned device name of this SSH server, preceded with a slash for use in system directory scripts. ttyName text
DEV Name The internally assigned device name of this SSH server. devName text
SFTP Name The internally assigned name for the SFTP process. sftpName text
SFTP Block Name The internally assigned name for the SFTP memory block. sftpBlockName text
Socket ID The internal socket ID used by this session. sockId integer
Start Time The time stamp indicating, in seconds since last boot, when the session began. sesStartTime integer
Authentication Start Time The time stamp indicating, in seconds since last boot, when user authentication began. authStartTime integer
Authentication Complete Time The time stamp indicating, in seconds since last boot, when user authentication completed. authCompleteTime integer
Idle Start Time The time stamp indicating, in seconds since last boot, the beginning of the idle timer. This timer is started from the time of the last received character. idleStartTime integer
Session Loop Execution Time The time stamp indicating, in seconds since last boot, the execution of the last session loop. lastLoopTimeSession integer
SFTP Loop Execution Time The time stamp indicating, in seconds since last boot, the execution of the last SFTP loop. lastLoopTimeSftp integer
Kill Time The time stamp indicating, in seconds since last boot, when the system sent a session kill signal. This information is only available in the time between the event being sent and the action taken. sesKillTime integer
Kill Code The signal kill code received by session.

This information is only available in the time between the event being sent and the action taken.

Valid values:
  • none : The reason for session termination is unknown.
  • idleTimeout : The session terminated because it remained idle beyond the configured time limit.
  • authenticationTimeout : Session terminated because it did not authenticate within configured time limit.
  • administrativeTermination : The session was terminated by an administrator.
  • applicationFailure : The session terminated because the application terminated.
  • privilegeViolation : Session terminated because user attempted an action without proper privileges.
  • sessionExecutionFailure : Session terminated because an internal CLI execution cycle took too long.
  • sftpExecutionFailure : The session terminated because an internal execution cycle in SFTP took too long.
  • clientKeepAliveError : Session terminated because client did not respond to 3 consecutive keepalives.
sesKillCode enumeration
Termination Cause The reason for a session termination. This information is only available in the time between the event being sent and the action taken. sesTermCause text