04-05-2016 10:49 AM - edited 03-12-2019 12:35 AM
Good morning
I need to implement some logging for ssh session disconnection or administrative user disconnection. Something as "user johndoe has logged out out" or "ssh session from user johndoe has being disconnected". Usually it happens due to a session timeout out or closing the putty window. But I have to log it.
I could not find much stuff about this in Internet. Only found that Syslog Message
%ASA-6-315011: SSH session from IP_address on interface interface_name for user user disconnected by SSH server, reason: reason
I tried connect/disconnect by closing the putty window, timeout, etc, but no logging message about this has been generated.
Anyone could help me with this?....Is there any kind of customization, requirements or tweaks I have to perform in logging configuration?
Regards
Christian
04-05-2016 12:58 PM
This is an information message. Are you logging these? Assuming that you are using syslog:
logging trap informational
04-05-2016 06:08 PM
Hello Philip
Confirmed. Logging traps are configured as informational.
Thanks for your reply
Christian
04-05-2016 06:16 PM
To be clear, it is now working - or it is not working and you have informational traps already configured?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide