cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2508
Views
5
Helpful
3
Replies

SSH Failed Login logging Username/Password

hobbe
Level 7
Level 7

Hi

I would like to know if anyone knows if there is a way to log the username and password for a failed ssh login for a Cisco router running IOS 15.x ?

What I would like to do is to gather the information (username/pass/ip/time/and so on) on all the failed logins that occur so that I can setup statistics and get more information out on what the aggressors are doing. Sort of keeping track that they are not getting to close for comfort.

I do not want to block their attempts but I do want to keep track and be able to make statistics on the realworld data.

Today I can get all the information I want but for the password.

Is there any way to get the password also ?

It would be ok to log my own passwords also if that is what is needed to get this to work.

this would not be a security risk in itself due to config reasons.

Regards

Hobbe

3 Replies 3

cadet alain
VIP Alumni
VIP Alumni

Hi,

maybe this would fullfill your needs.

http://www.cisco.com/en/US/docs/ios/12_3t/12_3t4/feature/guide/gt_login.html

Regards.

Alain

Don't forget to rate helpful posts.

Hi Alain

Sorry it does not give me the password information (although the link has some other nice features)

I have setup logging on the ssh session and that gives me everything I need but the password the agressors try.

but thanks for trying to help

Due to no answer I take it that it is not possible to do such a thing on the routers ?

I know it is possible on the linux boxes with some tweaks.

I would love to have this feature since that would give me the oportunity to know if we are way off on our policies and also to see what is going on.

I do understand the concerns that one can look at passwords traveling over the net via syslog and so on so if one could configure it to just display failed attempts that would be a nice thing to add also.

Anyone else thinks this is a good idea ?

Review Cisco Networking products for a $25 gift card