I created a DSA key, uploaded the public key to the router, imported it and assigned it to a user. I add the key to my agent in my linux shell and try to ssh user@host and it still asks for a password.
I removed the key from my agent and did ssh user@host -i keyfilename and it prompted for the key passphrase. I enter it and it still asks for my password to connect to the router.
I put the key on one of my other linux servers and it worked for authentication over there just fine.
I add it to my agent. I have more than one key. By adding it to my agent, I dont have to type the passphrase for they key. I dont use keys with no passphrase unless it is limited to certain hosts.
The first key is the key forwarded from the agent on my desktop computer. The second key is the one I use on the routers.
DSA. It was just the extra long password for the user in ROS. I put a long random password in there because for this user, i would never use a password, only ssh keys.