Show SSH login user
Posted: 28 Oct 2019 23:13
OS6450's SSH logs don't show which user is logged in.
OS6900's SSH logs does show the username.
Does anyone have a clue how to make OS6450 emit the username? I tried these methods to no avail:
1. Enable "aaa switch-access mode enhanced"
2. Enabling "debug" mode on the logging mechanism on certain apps
On debug logs in (2), is there a way to enable debug mode for ALL applications? I found a unwritten command "swlog console level" to set the log level for the console but can't find a similar one for all apps.
Thanks in advance!
Code: Select all
THU OCT 24 16:18:31 2019 SSH info Session 46 New SSH Connection from 10.1.1.1 port 55522
Code: Select all
2019 Oct 24 15:39:18.861 stack sshd[9864] Received publickey for eugene from 10.1.1.1 port 56426 ssh2
1. Enable "aaa switch-access mode enhanced"
2. Enabling "debug" mode on the logging mechanism on certain apps
On debug logs in (2), is there a way to enable debug mode for ALL applications? I found a unwritten command "swlog console level" to set the log level for the console but can't find a similar one for all apps.
Code: Select all
-> show swlog
Operational Status : On,
Log Device 1 : flash,
Log Device 2 : console,
Syslog FacilityID : local0(16),
Remote command-log : Disabled,
Console Display Level : debug1 (7),
All Applications Not Shown Level : info (6)
Thanks in advance!