Command Line Reference Guide

Related
Commands
show ip ssh — displays the ssh information.
show accounting
Display the active accounting sessions for each online user.
Syntax
show accounting
Defaults none
Command
Modes
EXEC
Command
History
Version 8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Usage
Information
This command steps through all active sessions and then displays the accounting
records for the active account functions.
Example
Dell#show accounting
Active accounted actions on tty2, User guest Priv 1 Role <none>
Task ID 1, EXEC Accounting record, 00:02:03
Elapsed,service=shell
Active accounted actions on tty3, User ad Priv 15 Role <none>
Task ID 2, EXEC Accounting record, 00:01:22
Elapsed,service=shell
Active accounted actions on tty4, User ad Priv 15 Role <none>
Task ID 11, EXEC Accounting record, 00:00:35 Elapsed,
service=shell
Active accounted actions on tty5, User ad Priv 1 Role sysadmin
Task ID 16, EXEC Accounting record, 00:00:04 Elapsed,
service=shell
Dell#
Related
Commands
aaa accounting — enables AAA Accounting and creates a record for monitoring the
accounting function.
show crypto
Display the public part of the SSH host-keys.
Syntax
show crypto key mypubkey {rsa | rsa1}
Parameters
Key Enter the keyword key to display the host public key.
mypubkey Enter the keyword mypubkey to display the host public key.
rsa Enter the keyword rsa to display the host SSHv2 RSA public
key.
1194
Security