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_2 --- Cleared 1 days 20:22:19 ago, on 18/05/2015 at 13:00:32 ------------- -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 1698| 136|CHAR | 96942| 1395| PCK | 446| 136|CALL | 0| 6| RESET | 0| 0|DENIED-IP | 0| | BANNED-IP | 0| | ------------------------------------------------------------------------
[18:06:40] ABILIS_CPX:
d se ssh
RES:Ssh ----------------------------------------------------------------------- Secure_Shell_Protocol_2 --- Cleared 1 days 20:22:38 ago, on 18/05/2015 at 13:00:32 ------------- -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 1698| 136|CHAR | 96942| 1395| PCK | 446| 136|CALL | 0| 6| RESET | 0| 0|DENIED-IP | 0| | BANNED-IP | 0| | ------------------------------------------------------------------------ - Ssh Sessions --------------------------------------------------------- SES 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 LISTEN 000.000.000.000-22 -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 219| 3|CHAR | 13608| 28| PCK | 35| 3|CALL | 0| 2| RESET | 0| 0| ------------------------------------------------------------------------ 5 SERV READY LISTEN 000.000.000.000-22 -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 763| 101|CHAR | 40756| 1023| PCK | 261| 101|CALL | 0| 2| RESET | 0| 0| ------------------------------------------------------------------------ 6 SERV READY LISTEN 000.000.000.000-22 -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 433| 8|CHAR | 26909| 98| PCK | 68| 8|CALL | 0| 2| 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