Show users command
From NetworkCommands
A command available on most Cisco IOS based platforms; used to display ssh, telnet and console (i.e. line) connections (in)to the device.
Contents |
Usage Syntax
show users [all]
The all option displays additional information about inactive ports.
Usage Notes
The hidden who command has the same function
The method used to actually connect to a VTY line is not displayed.
Typical Output
show users
Line User Host(s) Idle Location * 1 vty 0 testuser idle 00:00:00 99.166.13.68 Interface User Mode Idle Peer Address
show users all
Line User Host(s) Idle Location 0 con 0 00:00:00 * 1 vty 0 testuser idle 00:00:00 10.220.18.86 2 vty 1 00:00:00 3 vty 2 00:00:00 4 vty 3 00:00:00 5 vty 4 00:00:00 Interface User Mode Idle Peer Address
Related Commands
Use the show line command to display the lines available on the device
Use the send command to send a message to another or all console or vty lines
The Cisco show ssh command can be used to display more detailed ssh connection information, including encryption algorithm.
The connect command and telnet command can both be used to initiate outbound connections to other devices
Command Equivalents
The Cisco CSS command equivalent is the show lines command
The Linux platform command equivalent has the same name: who command, Linux
The Zebra routing application suite command equivalent has the same name: who command, Zebra
The Extreme command equivalent is the show session command, which includes ssh connection information.
The Juniper command equivalent is the show system users command







