To display the diagnostics of the SSH resource the following commands are used:
Shows diagnostic information, such as the state of the client and server, the local and the remote addresses-ports connected to the resource, etc..
[17:58:20] ABILIS_CPX:
d d ssh
RES:Ssh ----------------------------------------------------------------------- Secure_Shell_Protocol STATE:READY - Ssh Channels --------------------------------------------------------- CH TYPE X25-State TCP-State LocAdd-LocPort RemAdd-RemPort ------------------------------------------------------------------------ 1 CLNT READY READY 2 CLNT READY READY 3 CLNT READY READY 4 SERV READY LISTENING 000.000.000.000-22 5 SERV READY LISTENING 000.000.000.000-22 6 SERV CONNECTED CONNECTED 192.168.000.201-22 192.168.000.025-40868
To display the statistics of the SSH resource the following commands are used:
Shows statistic information, such as number of segments received/sent, number of characters received/sent, number of packets received/sent, number of calls sent/received and number of resets sent/received.
Shows statistic information in an extended format: the information listed for d s ssh command are shown for each session.
[18:06:18] ABILIS_CPX:
d s ssh
RES:Ssh ----------------------------------------------------------------------- Secure_Shell_Protocol --- Cleared 0 days 02:56:16 ago, on 28/12/2007 at 10:27:32 ------------- -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 49| 5|CHAR | 2665| 42| PCK | 14| 5|CALL | 0| 1| RESET | 0| 0| ------------------------------------------------------------------------
[18:06:40] ABILIS_CPX:
d se ssh
RES:Ssh ----------------------------------------------------------------------- Secure_Shell_Protocol --- Cleared 0 days 02:56:21 ago, on 28/12/2007 at 10:27:32 ------------- - Ssh Channels --------------------------------------------------------- CH TYPE X25-State TCP-State LocAdd-LocPort RemAdd-RemPort ------------------------------------------------------------------------ 1 CLNT READY READY -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 0| 0|CHAR | 0| 0| PCK | 0| 0|CALL | 0| 0| RESET | 0| 0| ------------------------------------------------------------------------ 2 CLNT READY READY -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 0| 0|CHAR | 0| 0| PCK | 0| 0|CALL | 0| 0| RESET | 0| 0| ------------------------------------------------------------------------ 3 CLNT READY READY -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 0| 0|CHAR | 0| 0| PCK | 0| 0|CALL | 0| 0| RESET | 0| 0| ------------------------------------------------------------------------ 4 SERV READY LISTENING 000.000.000.000-22 -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 0| 0|CHAR | 0| 0| PCK | 0| 0|CALL | 0| 0| RESET | 0| 0| ------------------------------------------------------------------------ 5 SERV READY LISTENING 000.000.000.000-22 -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 0| 0|CHAR | 0| 0| PCK | 0| 0|CALL | 0| 0| RESET | 0| 0| ------------------------------------------------------------------------ 6 SERV CONNECTED CONNECTED 192.168.000.201-22 192.168.000.025-40868 -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 60| 6|CHAR | 3302| 51| PCK | 17| 6|CALL | 0| 1| RESET | 0| 0| ------------------------------------------------------------------------
To display the communication sessions state for the SSH resource the following commands are used:
Shows the current state of sessions.
Shows the current state of sessions in extended format.
[11:09:16] ABILIS_CPX:
d c ssh
Res: Ses: State: Clr:/Res: Ses: [Cg:/Cd:] Id:/Pr: ------------------------------------------------------------------------------- Ssh 1 UP F0,B0 2 UP F0,B0 3 UP F0,B0 4 UP F0,B0 5 UP F0,B0 6 CONN TO Cp 1 00 0 -------------------------------------------------------------------------------
[11:09:16] ABILIS_CPX:
d ce ssh
RES:Ssh SES:1 UP CLR:F0,B0 SES:2 UP CLR:F0,B0 SES:3 UP CLR:F0,B0 SES:4 UP CLR:F0,B0 SES:5 UP CLR:F0,B0 SES:6 CONN TO RES:Cp SES:1 CG: CD:00 PID:01000000 UD:CP IPSRC:192.168.000.025