Every wonder how to tell if you put a space at the end of your Cisco password? Well, if you have, or want to see if thats the case during troubleshooting try out this command:
show run | i _$
If you have a user like this in the output:
user cisco password cisco
It most likely means that the password cisco is really "cisco_" where the _ is a blank space! This also applies for items like ospf authentication, etc...