Show ssh session – Allied Telesis RAPIER I User Manual
Page 155

Software Version 2.8.1
155
Software Version 2.8.1
C613-10477-00 REV B
Example
To display the SCP counters only, use the command:
sh ssh cou=scp
show ssh session
Syntax
SHow SSH SEssion[={ALL|SSH|SCP}]
Description
This command displays the status of Secure Shell and Secure Copy sessions
currently active on the router or switch, including both outbound sessions to
another host and inbound sessions into the router or switch.
If all is specified, the SSH session list along with the details about SCP
connections is shown (
). If ssh is specified, only the SSH session list is
displayed(
). If scp is specified, only details
about SCP connections are displayed (
). If no parameter is specified, the command defaults to all.
Figure 48: Example output from the show ssh session=ssh command
Figure 49: Example output from the show ssh session=ssh command
writeFileFailed
The number of write failures. A write failure results in a load
failure.
Table 37: Modified parameters in output of the show ssh counter={scp|all} command
Parameter
Meaning
ID Type Dir Peer Address User State
----------------------------------------------------------
0 Listen In 0.0.0.0 Initial
1 Listen In :: Initial
2 Shell In 192.168.2.5 manager Open
3 Shell Out 192.168.100.264 john Open
4 Cmd In 10.5.3.66 manager Open
5 SCP In 172.17.1.1 manager Authen
6 SCP Out 172.17.1.1 root Request
Secure Shell Sessions:
ID Type Dir Peer Address User State
--------------------------------------------------------
0 Listen In 0.0.0.0 Initial
1 Listen In :: Initial
2 Shell In 192.168.2.5 manager Open
3 Shell Out 192.168.100.264 john Open
4 SCP In 172.17.1.1 root Authen
5 SCP Out 172.17.1.1 john Request