cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
419
Views
0
Helpful
3
Replies

Logging for session/user disconnection

Christian Jorge
Level 1
Level 1

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

3 Replies 3

Philip D'Ath
VIP Alumni
VIP Alumni

This is an information message.  Are you logging these?  Assuming that you are using syslog:

logging trap informational

Hello Philip

Confirmed. Logging traps are configured as informational.

Thanks for your reply

Christian

To be clear, it is now working - or it is not working and you have informational traps already configured?

Review Cisco Networking for a $25 gift card