Hi Guys:
How are you? =) I hope that you're doing fine!! I write here because I need to know how to logging (syslog or 'show log') on IOS-XR when a user log ing and log out a ssh sesion. So, via 'telnet' I can see that:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! HERE, A USER LOGGED IN !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
RP/0/RSP0/CPU0:ASR9K-2#RP/0/RSP0/CPU0:May 23 11:04:45.068 : exec[65906]: %SECURITY-LOGIN-6-AUTHEN_SUCCESS : Successfully authenticated user 'leonel' from '10.0.1.8' on 'vty1'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! HERE, A USER LOGGED OUT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
RP/0/RSP0/CPU0:ASR9K-2#RP/0/RSP0/CPU0:May 23 11:04:57.203 : exec[65906]: %SECURITY-LOGIN-6-CLOSE : User 'leonel' logged out
But, with SSHv2, I only see when a user logged in:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! HERE, A USER LOGGED IN !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
RP/0/RSP0/CPU0:ASR9K-2#RP/0/RSP0/CPU0:May 23 11:05:23.861 : SSHD_[65905]: %SECURITY-SSHD-6-INFO_SUCCESS : Successfully authenticated user 'leonel' from '10.0.1.8' on 'vty1'(cipher 'aes256-cbc', mac 'hmac-sha1')
I would like to know how I can see on syslog when a SSH session finishes.
I hope that you can help me.
Thank you very much,
Best regards
Leonel.-