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

How to see incorrect password in SSH Session.

tigger
Level 1
Level 1

I have a 7206VXR router that I can SSH into. When a user attepts to SSH into it I would like to see the attempted password. All I get is a message "AAA authentication fail reason: Password." I am using a local AAA authenticaiton on the router.

I can see the username in the attempt but I would like to see if the password they are attempting to use. With long passwords using numbers, symbols, upper and lowercase it would benefit to tell them exactly what they are typing wrong.

Is there a debug I can enable to trap the attempted password?

1 Reply 1

a.kiprawih
Level 7
Level 7

Hi,

When you used ssh, the password (correct or incorrect) cannot be seen in any way, including debug, as it will be totally encrypted. This is purposely done for security reason.

The following doc gives you good info on ssh, including debug output for both successful and unsuccessful ssh access attempt - no password revealed:

http://www.cisco.com/en/US/tech/tk583/tk617/technologies_tech_note09186a00800949e2.shtml

Rgds,

AK