cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
586
Views
0
Helpful
0
Replies

SSH logging (registering up and down sessions)

debinski1
Level 1
Level 1

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.-

0 Replies 0